]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filename.h
avoiding crashes on osx during app shutdown
[wxWidgets.git] / include / wx / filename.h
index 023366e020ea3a5201a371ad8abd1adf097bd492..93b12c510733f9e528d2e8ff9bcc396384291044 100644 (file)
@@ -248,7 +248,7 @@ public:
     }
 #endif // wxUSE_DATETIME
 
-#ifdef __WXMAC__
+#if defined( __WXOSX_MAC__ ) && wxOSX_USE_CARBON
     bool MacSetTypeAndCreator( wxUint32 type , wxUint32 creator ) ;
     bool MacGetTypeAndCreator( wxUint32 *type , wxUint32 *creator ) ;
     // gets the 'common' type and creator for a certain extension