]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/app.cpp
Removed #include <typeinfo> (since C++ RTTI is no longer used)
[wxWidgets.git] / src / osx / carbon / app.cpp
index 6331ca653ac6f862d0620eb14d48b6fc6dbc2952..14c97c2f85d9f525bb2d35241f1ec47410c439eb 100644 (file)
@@ -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 ;