summaryrefslogtreecommitdiffstats
path: root/src/wxwidgets-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wxwidgets-test.cpp')
-rw-r--r--src/wxwidgets-test.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/wxwidgets-test.cpp b/src/wxwidgets-test.cpp
new file mode 100644
index 0000000..714f917
--- /dev/null
+++ b/src/wxwidgets-test.cpp
@@ -0,0 +1,18 @@
+/* This file is part of mingw-cross-env. */
+/* See doc/index.html for further information. */
+
+#include <wx/wx.h>
+
+class TestApp: public wxApp
+{
+private:
+ bool OnInit()
+ {
+ wxFrame *frame = new wxFrame(0, -1, _("Hello, World!"));
+ frame->Show(true);
+ SetTopWindow(frame);
+ return true;
+ }
+};
+
+IMPLEMENT_APP(TestApp)