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()
23 if (bbGetInputTitle()!="")
25 msg = bbGetInputTitle()+": " + bbGetInputIn();
31 ((wxStaticText*)bbGetOutputWidget())->SetLabel( bbtk::std2wx( msg ) );
34 wxHtmlWindow* html = (wxHtmlWindow*)bbGetOutputWidget();
35 html->LoadPage( bbtk::std2wx( bbGetInputFileName() ));
39 // 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)
41 void HtmlWindow::CreateWidget(wxWindow* parent)
44 // bbSetOutputWidget( new wxStaticText ( parent , -1 , _T("") ) );
45 bbSetOutputWidget( new wxHtmlWindow(parent, -1, wxDefaultPosition, wxSize(380, 160), wxHW_SCROLLBAR_NEVER) );
48 // 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)
50 void HtmlWindow::bbUserSetDefaultValues()
55 // 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)
57 void HtmlWindow::bbUserInitializeProcessing()
62 // 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)
64 void HtmlWindow::bbUserFinalizeProcessing()