Mercurial > mercurial > hgweb_qlipbrd.cgi
view src/main.cpp @ 2:50d9f4e2a540
forgot a file.
author | pyon@macmini |
---|---|
date | Mon, 14 Sep 2015 19:25:51 +0900 |
parents | e4aa0e7a07ad |
children |
line wrap: on
line source
// Filename : main.cpp // Last Change: 2015-09-02 Wed 21:31:52. // #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, wxSize( 400, 450 ), wxDEFAULT_FRAME_STYLE ); mainframe->Show( true ); return true; } int MyApp::OnExit() { return 0; }