--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cpp/main.cpp Sun Feb 13 07:57:02 2011 +0100
@@ -0,0 +1,27 @@
+#include <wx/wx.h>
+#include <wx/log.h>
+#include <wx/image.h>
+#include <wx/string.h>
+#include <wx/init.h>
+
+#include "MainWindow.hpp"
+
+class MyApp : public wxApp
+{
+ public:
+ virtual bool OnInit();
+};
+
+IMPLEMENT_APP(MyApp)
+
+bool MyApp::OnInit()
+{
+ if(!wxApp::OnInit())
+ return false;
+
+ MainWindow *mw = new MainWindow();
+ mw->Show();
+ SetTopWindow(mw);
+
+ return true;
+}