Some changes to fix event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0902e71a16
commit
ee453a161f
@ -536,7 +536,6 @@ wxApp::~wxApp()
|
||||
delete[] argv[i];
|
||||
}
|
||||
delete[] argv;
|
||||
#endif
|
||||
} // end of wxApp::~wxApp
|
||||
|
||||
bool wxApp::Initialized()
|
||||
@ -884,7 +883,7 @@ void wxExit()
|
||||
wxLogError(_("Fatal error: exiting"));
|
||||
|
||||
wxApp::CleanUp();
|
||||
} // end of wxExit
|
||||
} // end of wxExit
|
||||
|
||||
//
|
||||
// Yield to incoming messages
|
||||
@ -893,7 +892,7 @@ bool wxYield()
|
||||
{
|
||||
HAB vHab = 0;
|
||||
QMSG vMsg;
|
||||
|
||||
|
||||
//
|
||||
// Disable log flushing from here because a call to wxYield() shouldn't
|
||||
// normally result in message boxes popping up &c
|
||||
|
@ -188,7 +188,7 @@ wxFont wxSystemSettings::GetSystemFont(int index)
|
||||
}
|
||||
}
|
||||
|
||||
return wxFont();
|
||||
return *wxSWISS_FONT;
|
||||
}
|
||||
|
||||
// Get a system metric, e.g. scrollbar size
|
||||
|
Loading…
Reference in New Issue
Block a user