]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
corrected content vs structure calculation
[wxWidgets.git] / src / motif / app.cpp
index a723826ec3a5920c927b0fa0ad506cb28072ec18..d17e8fc734efeba00f42164bdd69c844bd6230f5 100644 (file)
@@ -304,7 +304,7 @@ void wxApp::SetTopLevelWidget(WXDisplay* display, WXWidget widget)
 
 bool wxApp::Yield(bool onlyIfNeeded)
 {
-    bool s_inYield = FALSE;
+    static bool s_inYield = FALSE;
 
     if ( s_inYield )
     {