Program: bbtk
Module: $RCSfile: bbtkWxGUIScriptingInterface.h,v $
Language: C++
- Date: $Date: 2008/03/21 11:46:41 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/03/21 14:59:39 $
+ Version: $Revision: 1.2 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// A scripting interface window
class BBTK_EXPORT WxGUIScriptingInterface : public wxFrame,
- public InterpreterUser,
- public WxGUICommandUser
+ public InterpreterUser,
+ public WxGUICommandUser,
+ public WxGUITextEditorUser,
+ public WxGUIHtmlBrowserUser
{
public:
WxGUIScriptingInterface( wxWindow *parent, wxString title, wxSize size);
void OnMenuCreateIndex(wxCommandEvent& WXUNUSED(event));
- void OnButtonRun(wxCommandEvent& WXUNUSED(event));
+ // void OnButtonRun(wxCommandEvent& WXUNUSED(event));
// Interpreter callbacks
bool InterpreterUserHasOwnHtmlPageViewer() { return true; }
// WxGUICommand callbacks
void WxGUICommandEnter(const std::string&);
+ // WxGUITextEditor callbacks
+ void WxGUITextEditorRun();
+
+ // WxGUIHtmlBrowser callbacks
+ bool WxGUIHtmlBrowserUserOnLinkClicked(const std::string& target);
private:
wxAuiManager m_mgr;
Interpreter* mInterpreter;
//EED wxNotebook* mwxNotebook;
- wxAuiNotebook* mwxNotebook;
- wxPanel *mwxPageCommand, *mwxPageHelp;
+// wxAuiNotebook* mwxNotebook;
+// wxPanel *mwxPageCommand, *mwxPageHelp;
WxGUICommand* mWxGUICommand;
WxGUIOutputMessages* mWxGUIOutputMessages;
WxGUIHtmlBrowser* mWxGUIHtmlBrowser;
WxGUITextEditor* mWxGUITextEditor;
- wxButton* mwxButtonRun;
+ // wxButton* mwxButtonRun;
public: