X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e38638c3499c679f25ec0029931aad8e62e70d3..9b66a1d31a32e9235792261db6ff755ce26ab5c1:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 2041a588a7..2847577dde 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -54,14 +54,9 @@ static GtkWidget *gs_RootWindow = (GtkWidget*) NULL; // wxYield //----------------------------------------------------------------------------- -// not static because used by textctrl.cpp -// -// MT-FIXME -bool wxIsInsideYield = false; - bool wxApp::Yield(bool onlyIfNeeded) { - if ( wxIsInsideYield ) + if ( m_isInsideYield ) { if ( !onlyIfNeeded ) { @@ -79,7 +74,7 @@ bool wxApp::Yield(bool onlyIfNeeded) } #endif // wxUSE_THREADS - wxIsInsideYield = true; + m_isInsideYield = true; #if wxUSE_LOG // disable log flushing from here because a call to wxYield() shouldn't @@ -103,7 +98,7 @@ bool wxApp::Yield(bool onlyIfNeeded) wxLog::Resume(); #endif - wxIsInsideYield = false; + m_isInsideYield = false; return true; }