Mercurial > mercurial > hgweb_qlipbrd.cgi
view 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 source
// 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; }