2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #include "bbwxHtmlWindow.h"
5 #include "bbwxPackage.h"
6 #include <wx/html/htmlwin.h>
11 BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,HtmlWindow)
12 BBTK_BLACK_BOX_IMPLEMENTATION(HtmlWindow,bbtk::WxBlackBox);
14 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
19 void HtmlWindow::Process()
21 wxHtmlWindow* html = (wxHtmlWindow*)bbGetOutputWidget();
22 html->LoadPage( bbtk::std2wx( bbGetInputFileName() ));
26 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
28 void HtmlWindow::CreateWidget(wxWindow* parent)
30 bbSetOutputWidget( new wxHtmlWindow(parent, -1, wxDefaultPosition, wxSize(380, 160), wxHW_SCROLLBAR_AUTO) );
33 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
35 void HtmlWindow::bbUserSetDefaultValues()
40 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
42 void HtmlWindow::bbUserInitializeProcessing()
47 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
49 void HtmlWindow::bbUserFinalizeProcessing()