Contents Up Previous Next

wxApp definition

The definition of OnInit has changed. Return a bool value, not a wxFrame.

Also, do not declare a global application object. Instead, use the macros DECLARE_APP and IMPLEMENT_APP as per the samples. Remove any occurrences of IMPLEMENT_WXWIN_MAIN: this is subsumed in IMPLEMENT_APP.