X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90e15296e9208a869efcc96329597fa3bf263d26..5a5f305a0f1cdd740d7ca299764755a62108fbda:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index ef67c91681..a38f84583f 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -78,6 +78,8 @@ wxAppBase::wxAppBase() m_isActive = true; + m_isInsideYield = false; + // We don't want to exit the app if the user code shows a dialog from its // OnInit() -- but this is what would happen if we set m_exitOnFrameDelete // to Yes initially as this dialog would be the last top level window.