comparison src/main.cpp @ 1:e4aa0e7a07ad

Second release.
author pyon@macmini
date Sun, 13 Sep 2015 14:56:42 +0900
parents cb3403ca39b1
children
comparison
equal deleted inserted replaced
0:cb3403ca39b1 1:e4aa0e7a07ad
1 // Filename : main.cpp 1 // Filename : main.cpp
2 // Last Change: 2015-08-26 Wed 19:51:32. 2 // Last Change: 2015-09-02 Wed 21:31:52.
3 // 3 //
4 #include "main.h" 4 #include "main.h"
5 #include "mainframe.h" 5 #include "mainframe.h"
6 6
7 IMPLEMENT_APP(MyApp) 7 IMPLEMENT_APP(MyApp)
18 18
19 bool MyApp::OnInit() 19 bool MyApp::OnInit()
20 { 20 {
21 if ( !wxApp::OnInit() ) return false; 21 if ( !wxApp::OnInit() ) return false;
22 22
23 MainFrame *mainframe = new MainFrame( NULL, wxID_ANY, wxT("QlipBoard"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE ); 23 MainFrame *mainframe = new MainFrame( NULL, wxID_ANY, wxT("QlipBoard"), wxDefaultPosition, wxSize( 400, 450 ), wxDEFAULT_FRAME_STYLE );
24 mainframe->Show( true ); 24 mainframe->Show( true );
25 25
26 return true; 26 return true;
27 } 27 }
28 28