X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2dd520dac7887de828c0df033d725136b2270a8..bb69632a56a827bed4cfae842bfffa88259ac1aa:/src/osx/carbon/app.cpp diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index 6331ca653a..9f85b4dda2 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -956,7 +956,7 @@ void wxApp::CleanUp() // misc initialization stuff //---------------------------------------------------------------------- -#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 +#if wxOSX_USE_CARBON && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 bool wxMacConvertEventToRecord( EventRef event , EventRecord *rec) { OSStatus err = noErr ; @@ -1151,7 +1151,7 @@ bool wxApp::Yield(bool onlyIfNeeded) #endif // wxUSE_LOG wxEventLoop * const - loop = wx_static_cast(wxEventLoop *, wxEventLoop::GetActive()); + loop = static_cast(wxEventLoop::GetActive()); if ( loop ) { // process all pending events: