diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-20 00:46:17 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-20 00:46:17 +0100 |
commit | beaeb2c95856bb89f9aa4ac7b256d1526f60cde9 (patch) | |
tree | 62b173e64ef266d8952bc8f454cca1597a723134 /k8055gui/MyApp.cpp | |
parent | 876d6f498bbf358a23b47edaf8b0d967724b1b94 (diff) | |
download | k8055-beaeb2c95856bb89f9aa4ac7b256d1526f60cde9.zip k8055-beaeb2c95856bb89f9aa4ac7b256d1526f60cde9.tar.gz |
add k8055gui
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; +} |