Mercurial > mercurial > hgweb_golang.cgi
view src/kaigo/horori/alloc/main.cpp @ 65:0369656be06c default tip
many changes.
author | pyon@macmini |
---|---|
date | Fri, 20 May 2022 06:30:34 +0900 |
parents | 20b42e2deae1 |
children |
line wrap: on
line source
// Filename : main.cpp // Last Change: 2021-05-07 金 17:21:40. // #include "main.h" #include "alloc.h" IMPLEMENT_APP(MyApp) IMPLEMENT_CLASS(MyApp, wxApp) MyApp::MyApp() { } MyApp::~MyApp() { } bool MyApp::OnInit() { if (!wxApp::OnInit()) return false; wxImage::AddHandler(new wxJPEGHandler); wxImage::AddHandler(new wxTIFFHandler); AllocFrame *frame = new AllocFrame(NULL, wxID_ANY, wxT("ALLOC"), wxDefaultPosition, wxSize(420, 260), wxCAPTION|wxCLOSE_BOX); frame->Show(true); frame->Raise(); return true; } int MyApp::OnExit() { return 0; }