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:
Ove Kaaven
1999-04-15 18:09:48 +00:00
parent a86f1d4a7d
commit a28d23bb2c
2 changed files with 50 additions and 31 deletions

View File

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