summaryrefslogtreecommitdiffstats
path: root/main.cpp
blob: 5a5298d34eb2944584ab3f4008d2cfa9bff25fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "main.h"
#include "dialog.h"

IMPLEMENT_APP(MyApp)

bool MyApp::OnInit()
{
    	wxImageHandler * pngLoader = new wxPNGHandler();
	wxImage::AddHandler(pngLoader);

	Dialog *d = new Dialog((wxWindow *)NULL);
	d->Show(true);
	return true;
}