aboutsummaryrefslogtreecommitdiff
path: root/Guppies1_0App.cpp
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 19:27:35 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 19:27:49 +0100
commit17909d029c6a8872b2fddf4e171d7925bbbe9c5c (patch)
treecbb08af84cd68d24acc362d593a2048b0fa79689 /Guppies1_0App.cpp
Initial commitHEADmaster
Diffstat (limited to 'Guppies1_0App.cpp')
-rw-r--r--Guppies1_0App.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/Guppies1_0App.cpp b/Guppies1_0App.cpp
new file mode 100644
index 0000000..27a2e5f
--- /dev/null
+++ b/Guppies1_0App.cpp
@@ -0,0 +1,34 @@
+/***************************************************************
+ * Name: Guppies1_0App.cpp
+ * Purpose: Code for Application Class
+ * Author: Paul T. Oliver (nino.trullen@gmail.com)
+ * Created: 2012-11-13
+ * Copyright: Paul T. Oliver ()
+ * License:
+ **************************************************************/
+
+#include "Guppies1_0App.h"
+
+//(*AppHeaders
+#include "Guppies1_0Main.h"
+#include <wx/image.h>
+//*)
+
+IMPLEMENT_APP(Guppies1_0App);
+
+bool Guppies1_0App::OnInit()
+{
+ //(*AppInitialize
+ bool wxsOK = true;
+ wxInitAllImageHandlers();
+ if ( wxsOK )
+ {
+ Guppies1_0Dialog Dlg(0);
+ SetTopWindow(&Dlg);
+ Dlg.ShowModal();
+ wxsOK = false;
+ }
+ //*)
+ return wxsOK;
+
+}