Program: bbtk
Module: $RCSfile: bbtkWxGUITextEditor.h,v $
Language: C++
- Date: $Date: 2008/03/25 15:47:54 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2008/07/23 11:46:11 $
+ Version: $Revision: 1.6 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
public:
WxGUITextEditorUser() {}
- ~WxGUITextEditorUser() {}
+ virtual ~WxGUITextEditorUser() {}
/// Callback invoked when the 'run' button is pressed
virtual void WxGUITextEditorRun() {}
};
void OnKeyDown(wxKeyEvent& event);
void OnKeyUp(wxKeyEvent& event);
- void OnButtonNew(wxCommandEvent& event);
- void OnButtonOpen(wxCommandEvent& event);
- void OnButtonClose(wxCommandEvent& event);
- void OnButtonSave(wxCommandEvent& event);
- void OnButtonSaveAs(wxCommandEvent& event);
- void OnButtonRun(wxCommandEvent& event);
- // void OnButtonQuit(wxCommandEvent& event);
+ void OnToolLeftClick(wxCommandEvent& event);
+ void OnToolRightClick(wxCommandEvent& event);
+
void OnPageClose(wxAuiNotebookEvent& evt);
void New();
wxAuiManager m_mgr;
wxAuiNotebook* mwxNotebook;
- // Interpreter* mInterpreter;
- // wxSplitterWindow* mwxSplit;
-
- wxButton * mwxButtonNew;
- wxButton * mwxButtonOpen;
- wxButton * mwxButtonClose;
- wxButton * mwxButtonSave;
- wxButton * mwxButtonSaveAs;
- wxButton * mwxButtonRun;
- // wxButton * mwxButtonQuit;
+ wxToolBar* mwxToolBar;
+
wxStaticText* mwxPosition;
std::string mFileNameFilter;