don't use deprecated toolbar API
[wxWidgets.git] / src / motif / app.cpp
index 6208995cd0df97d15d4c513b36dde0c6349f4555..5807769612fa27669102af4b1949882766e9c4d3 100644 (file)
@@ -486,6 +486,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
 
     s_inYield = true;
 
+    wxEventLoopGuarantor dummyLoopIfNeeded;
     while (wxTheApp && wxTheApp->Pending())
         wxTheApp->Dispatch();