Mercurial > mercurial > hgweb_golang.cgi
view src/kaigo/Porori/src/main.cpp @ 52:1c7bf24c63e6
alloc.cpp: small improve.
author | pyon@macmini |
---|---|
date | Tue, 12 May 2020 20:00:11 +0900 |
parents | 34a474fb83c3 |
children |
line wrap: on
line source
// Filename : main.cpp // Last Change: 2020-02-12 08:38:12. // #include "main.h" #include "porori.h" IMPLEMENT_APP(MyApp) IMPLEMENT_CLASS( MyApp, wxApp ) MyApp::MyApp() { } MyApp::~MyApp() { } bool MyApp::OnInit() { if ( !wxApp::OnInit() ) return false; long style = wxDEFAULT_FRAME_STYLE; style = style & ~(wxMAXIMIZE_BOX); PororiFrame *mainframe = new PororiFrame(NULL, wxID_ANY, wxT("Porori"), wxDefaultPosition, wxSize(340,80), style); mainframe->Show(true); return true; } int MyApp::OnExit() { return 0; }