Defer loading of character sets, and some anti-crash checks related to
missing or incomplete LANG env var. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -743,12 +743,12 @@ void wxEnableTopLevelWindows(bool enable)
|
||||
// Yield to other apps/messages and disable user input
|
||||
bool wxSafeYield(wxWindow *win)
|
||||
{
|
||||
wxEnableTopLevelWindow(FALSE);
|
||||
wxEnableTopLevelWindows(FALSE);
|
||||
// always enable ourselves
|
||||
if ( win )
|
||||
win->Enable(TRUE);
|
||||
bool rc = wxYield();
|
||||
wxEnableToplevelWindows(TRUE);
|
||||
wxEnableTopLevelWindows(TRUE);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user