diff src/main.cpp @ 0:cb3403ca39b1

First release.
author pyon@macmini
date Sun, 30 Aug 2015 21:53:19 +0900
parents
children e4aa0e7a07ad
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main.cpp	Sun Aug 30 21:53:19 2015 +0900
@@ -0,0 +1,33 @@
+// Filename   : main.cpp
+// Last Change: 2015-08-26 Wed 19:51:32.
+//
+#include "main.h"
+#include "mainframe.h"
+
+IMPLEMENT_APP(MyApp)
+
+IMPLEMENT_CLASS( MyApp, wxApp )
+
+MyApp::MyApp()
+{
+}
+
+MyApp::~MyApp()
+{
+}
+
+bool MyApp::OnInit()
+{
+    if ( !wxApp::OnInit() ) return false;
+
+    MainFrame *mainframe = new MainFrame( NULL, wxID_ANY, wxT("QlipBoard"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE );
+    mainframe->Show( true );
+
+    return true;
+}
+
+int MyApp::OnExit()
+{
+    return 0;
+}
+