view src/kaigo/horori/mover/src/main.cpp @ 63:17e042fc8a33

fix nk.go
author pyon@macmini
date Fri, 16 Oct 2020 20:35:44 +0900
parents 20b42e2deae1
children
line wrap: on
line source

// Filename   : main.cpp
// Last Change: 2020-04-03 金 10:57:52.
//
#include "main.h"
#include "mover.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);
    wxImage::AddHandler(new wxPNGHandler);

	MoveFrame *frame = new MoveFrame(NULL, wxID_ANY, wxT("Mover"), wxDefaultPosition, wxSize(1400, 1000), wxDEFAULT_FRAME_STYLE);
	frame->Show(true);
	frame->Raise();

    return true;
}

int MyApp::OnExit()
{
    return 0;
}