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:
David Elliott
2003-07-03 15:32:11 +00:00
parent eee614d37e
commit 7fbc89bb02
2 changed files with 4 additions and 1 deletions

View File

@@ -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;