X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f15b55cee06b641c513eda9c010574299416bd99..34952e03e27f4d9b0eb255752678c79b29575a18:/src/motif/app.cpp diff --git a/src/motif/app.cpp b/src/motif/app.cpp index a723826ec3..d17e8fc734 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -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 ) {