X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f15b55cee06b641c513eda9c010574299416bd99..02a8e64ca3a617d776e6e5f881f915aadbd47c4c:/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 ) {