Program: bbtk
Module: $RCSfile: bbtkWxGUIHtmlBrowser.h,v $
Language: C++
- Date: $Date: 2008/03/20 09:51:29 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/03/21 18:31:57 $
+ Version: $Revision: 1.3 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
};
- /*
+
/// Abstract class which defines the callbacks invoked by WxGUIHtmlBrowser
class WxGUIHtmlBrowserUser
{
public :
WxGUIHtmlBrowserUser() {}
~WxGUIHtmlBrowserUser() {}
+
+ virtual bool WxGUIHtmlBrowserUserOnLinkClicked(const std::string& target)
+ { return true; }
};
- */
+
// class WxGUIConsole;
- class WxGUIHtmlBrowser : public wxPanel
+ class BBTK_EXPORT WxGUIHtmlBrowser : public wxPanel
{
public:
- WxGUIHtmlBrowser ( wxWindow *parent, wxSize size );
- // WxGUIHtmlBrowserUser* = 0 );
+ WxGUIHtmlBrowser ( wxWindow *parent, wxSize size,
+ WxGUIHtmlBrowserUser* = 0 );
bool GoTo(std::string&);
void GoHome();
wxButton* mwxReloadButton;
// wxButton* mwxRunButton;
- // WxGUIHtmlBrowserUser* mUser;
+ WxGUIHtmlBrowserUser* mUser;
// any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()