Program: bbtk
Module: $RCSfile: bbtkWxEditor.cxx,v $
Language: C++
- Date: $Date: 2008/03/18 12:51:26 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/03/18 13:50:43 $
+ 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
WxEditorWindow::WxEditorWindow( wxWindow *parent, wxString title, wxSize size)
: wxFrame((wxFrame *)parent, -1, title, wxDefaultPosition, size)
{
- WxEditor* mEditor = new WxEditor(this);
+ mEditor = new WxEditor(this);
//wxFlexGridSizer *sizer= new wxFlexGridSizer(2);
wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
Program: bbtk
Module: $RCSfile: bbtkWxEditor.h,v $
Language: C++
- Date: $Date: 2008/03/18 12:51:26 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/03/18 13:50:43 $
+ 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
public:
WxEditorWindow( wxWindow *parent, wxString title, wxSize size);
~WxEditorWindow();
+ void Open(const std::string& filename) { mEditor->Open(filename); }
+ private :
+
+ WxEditor* mEditor;
};
} // namespace bbtk