// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma implementation
- #pragma interface
-#endif
-
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
bool MyApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return false;
+
MyFrame *frame = new MyFrame;
frame->Show(true);