Mercurial > mercurial > hgweb_qlipbrd.cgi
view src/main.cpp @ 3:fd4361d2cbbd default tip
add remember function.
author | pyon@macmini |
---|---|
date | Thu, 24 Sep 2015 07:45:26 +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; }