#include <bbtkWxGUITextEditor.h>

Public Member Functions | |
| WxGUITextEditorWindow (wxWindow *parent, wxString title, wxSize size) | |
| ~WxGUITextEditorWindow () | |
| void | Open (const std::string &filename) |
Private Attributes | |
| WxGUITextEditor * | mEditor |
Definition at line 199 of file bbtkWxGUITextEditor.h.
| bbtk::WxGUITextEditorWindow::WxGUITextEditorWindow | ( | wxWindow * | parent, | |
| wxString | title, | |||
| wxSize | size | |||
| ) |
Definition at line 745 of file bbtkWxGUITextEditor.cxx.
References bbtk::Wx::SetTopWindow().
00748 : wxFrame((wxFrame *)parent, -1, title, wxDefaultPosition, size) 00749 { 00750 00751 00752 wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL); 00753 00754 mEditor = new WxGUITextEditor(this); 00755 sizer->Add(mEditor,1,wxGROW); 00756 00757 // WxGUICommand* com = new WxGUICommand(this,this); 00758 // sizer->Add(com); 00759 00760 SetSizer(sizer); 00761 00762 // parent window of all bbtk windows will be a child of this 00763 // Wx::SetTopWindowParent(this); 00764 Wx::SetTopWindow(this); 00765 // Add the method OnWxSignal as a Wx::Signal observer 00766 //bbtkAddWxSignalObserver(WxGUITextEditorWindow::OnWxSignal); 00767 00768 00769 SetAutoLayout(true); 00770 Layout(); 00771 }

| bbtk::WxGUITextEditorWindow::~WxGUITextEditorWindow | ( | ) |
| void bbtk::WxGUITextEditorWindow::Open | ( | const std::string & | filename | ) | [inline] |
Definition at line 211 of file bbtkWxGUITextEditor.h.
1.5.7.1