// IDs for the controls and the menu commands
enum
{
- Minimal_Run = wxID_HIGHEST + 1,
+ Minimal_Run = wxID_HIGHEST + 1
};
// ----------------------------------------------------------------------------
// 'Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return false;
+
wxImage::AddHandler(new wxPNGHandler);
// create the main application window