X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fa150e233fa449ee270ac26ecf074f5c40acb1e..12cc29c56a03723218b85becfc6b5a1a63e917e5:/src/common/appbase.cpp diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index d727ffeafd..6f2bbbe5a4 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -215,24 +215,6 @@ void wxAppConsole::Exit() exit(-1); } -wxLayoutDirection wxAppConsole::GetLayoutDirection() const -{ -#if wxUSE_INTL - const wxLocale *const locale = wxGetLocale(); - if ( locale ) - { - const wxLanguageInfo *const - info = wxLocale::GetLanguageInfo(locale->GetLanguage()); - - if ( info ) - return info->LayoutDirection; - } -#endif // wxUSE_INTL - - // we don't know - return wxLayout_Default; -} - // ---------------------------------------------------------------------------- // traits stuff // ---------------------------------------------------------------------------- @@ -298,15 +280,6 @@ void wxAppConsole::ProcessPendingEvents() // iterate until the list becomes empty wxList::compatibility_iterator node = wxPendingEvents->GetFirst(); - - while (node && - ((wxEvtHandler *)node->GetData())->IsEventHandlingInProgress() && - ((wxEvtHandler *)node->GetData())->IsReentranceAllowed() == false) - { - // skip over event - node = node->GetNext(); - } - while (node) { wxEvtHandler *handler = (wxEvtHandler *)node->GetData(); @@ -321,14 +294,6 @@ void wxAppConsole::ProcessPendingEvents() wxENTER_CRIT_SECT( *wxPendingEventsLocker ); node = wxPendingEvents->GetFirst(); - - while (node && - ((wxEvtHandler *)node->GetData())->IsEventHandlingInProgress() && - ((wxEvtHandler *)node->GetData())->IsReentranceAllowed() == false) - { - // skip over event - node = node->GetNext(); - } } wxLEAVE_CRIT_SECT( *wxPendingEventsLocker );