]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
Corrected meaning of parameter col as the position not ID in wxLisrCtrl::InsertColumn...
[wxWidgets.git] / src / motif / app.cpp
index 5807769612fa27669102af4b1949882766e9c4d3..0a073548e787f54b933a7c197e97d2be88003fd3 100644 (file)
@@ -468,32 +468,6 @@ void wxApp::SetTopLevelRealizedWidget(WXDisplay* display, WXWidget widget)
         .m_topLevelRealizedWidget = (Widget)widget;
 }
 
-// Yield to other processes
-
-bool wxApp::Yield(bool onlyIfNeeded)
-{
-    static bool s_inYield = false;
-
-    if ( s_inYield )
-    {
-        if ( !onlyIfNeeded )
-        {
-            wxFAIL_MSG( wxT("wxYield called recursively" ) );
-        }
-
-        return false;
-    }
-
-    s_inYield = true;
-
-    wxEventLoopGuarantor dummyLoopIfNeeded;
-    while (wxTheApp && wxTheApp->Pending())
-        wxTheApp->Dispatch();
-
-    s_inYield = false;
-
-    return true;
-}
 
 // ----------------------------------------------------------------------------
 // accessors for C modules