]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
define wxUSE_REGKEY for WinCE too (closes #10211)
[wxWidgets.git] / src / motif / app.cpp
index c987ef6334466ff636799769b12fc26d5d6c3f11..5807769612fa27669102af4b1949882766e9c4d3 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#ifdef __VMS
-#define XtParent XTPARENT
-#define XtDisplay XTDISPLAY
-#endif
-
 #include "wx/app.h"
 
 #ifndef WX_PRECOMP
@@ -491,6 +486,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
 
     s_inYield = true;
 
+    wxEventLoopGuarantor dummyLoopIfNeeded;
     while (wxTheApp && wxTheApp->Pending())
         wxTheApp->Dispatch();