comparison src/main.cpp @ 0:cb3403ca39b1

First release.
author pyon@macmini
date Sun, 30 Aug 2015 21:53:19 +0900
parents
children e4aa0e7a07ad
comparison
equal deleted inserted replaced
-1:000000000000 0:cb3403ca39b1
1 // Filename : main.cpp
2 // Last Change: 2015-08-26 Wed 19:51:32.
3 //
4 #include "main.h"
5 #include "mainframe.h"
6
7 IMPLEMENT_APP(MyApp)
8
9 IMPLEMENT_CLASS( MyApp, wxApp )
10
11 MyApp::MyApp()
12 {
13 }
14
15 MyApp::~MyApp()
16 {
17 }
18
19 bool MyApp::OnInit()
20 {
21 if ( !wxApp::OnInit() ) return false;
22
23 MainFrame *mainframe = new MainFrame( NULL, wxID_ANY, wxT("QlipBoard"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE );
24 mainframe->Show( true );
25
26 return true;
27 }
28
29 int MyApp::OnExit()
30 {
31 return 0;
32 }
33