Added CallOnInit() which allows the toolkit (wxCocoa) to do a bit of
processing around the real OnInit() call. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -392,7 +392,7 @@ int wxEntryReal(int& argc, wxChar **argv)
|
||||
WX_SUPPRESS_UNUSED_WARN(cleanupOnExit);
|
||||
|
||||
// app initialization
|
||||
if ( !wxTheApp->OnInit() )
|
||||
if ( !wxTheApp->CallOnInit() )
|
||||
{
|
||||
// don't call OnExit() if OnInit() failed
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user