#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 189 of file bbtkWxGUITextEditor.h.
bbtk::WxGUITextEditorWindow::WxGUITextEditorWindow | ( | wxWindow * | parent, | |
wxString | title, | |||
wxSize | size | |||
) |
Definition at line 703 of file bbtkWxGUITextEditor.cxx.
00706 : wxFrame((wxFrame *)parent, -1, title, wxDefaultPosition, size) 00707 { 00708 00709 00710 wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL); 00711 00712 mEditor = new WxGUITextEditor(this); 00713 sizer->Add(mEditor,1,wxGROW); 00714 00715 // WxGUICommand* com = new WxGUICommand(this,this); 00716 // sizer->Add(com); 00717 00718 SetSizer(sizer); 00719 00720 // parent window of all bbtk windows will be a child of this 00721 Wx::SetTopWindowParent(this); 00722 // Add the method OnWxSignal as a Wx::Signal observer 00723 //bbtkAddWxSignalObserver(WxGUITextEditorWindow::OnWxSignal); 00724 00725 00726 SetAutoLayout(true); 00727 Layout(); 00728 }
bbtk::WxGUITextEditorWindow::~WxGUITextEditorWindow | ( | ) |
void bbtk::WxGUITextEditorWindow::Open | ( | const std::string & | filename | ) | [inline] |
WxGUITextEditor* bbtk::WxGUITextEditorWindow::mEditor [private] |
Definition at line 201 of file bbtkWxGUITextEditor.h.