]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
crash for frames without children corrected
[wxWidgets.git] / src / motif / app.cpp
index 0b8b01a03ad8f1bad6b4eb7d4be9191187147862..97e2911eb03d0b964c5366f9330fed7b3a411cd4 100644 (file)
@@ -603,6 +603,12 @@ bool wxYield()
 {
     while (wxTheApp && wxTheApp->Pending())
         wxTheApp->Dispatch();
+
+    // VZ: is it the same as this (taken from old wxExecute)?
+#if 0
+    XtAppProcessEvent((XtAppContext) wxTheApp->GetAppContext(), XtIMAll);
+#endif
+
     return TRUE;
 }