diff options
Diffstat (limited to 'k8055gui/MyApp.cpp')
-rw-r--r-- | k8055gui/MyApp.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/k8055gui/MyApp.cpp b/k8055gui/MyApp.cpp new file mode 100644 index 0000000..296738a --- /dev/null +++ b/k8055gui/MyApp.cpp @@ -0,0 +1,21 @@ +//#include "MyApp.h" + +#include <wx/wx.h> +#include "MyFrame.h" +class MyApp: public wxApp +{ + virtual bool OnInit(); +}; + +DECLARE_APP(MyApp) + + +IMPLEMENT_APP(MyApp) + +bool MyApp::OnInit() +{ + MyFrame *frame = new MyFrame( _T("K8055 USB Experiment Interface Board"), wxPoint(50,50), wxSize(635,340) ); + frame->Show(TRUE); + SetTopWindow(frame); + return TRUE; +} |