X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bba0174ac72712c2b9c38a317bf8d24059b105f4..916eabe60eee4adb05387bbf1eaf1915ae5eac18:/src/common/fileconf.cpp diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index d5626c7709..ad4e20adb5 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -1035,7 +1035,7 @@ bool wxFileConfig::Flush(bool /* bCurrentOnly */) ResetDirty(); -#if defined(__WXMAC__) +#if defined( __WXOSX_MAC__ ) && wxOSX_USE_CARBON m_fnLocalFile.MacSetTypeAndCreator('TEXT', 'ttxt'); #endif // __WXMAC__