]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wx_cw.h
added fix for MSL under Win32 (by Steve Hartwell)
[wxWidgets.git] / include / wx / wx_cw.h
index c8bf670a268f6dce83a53fe426ab6f5b68a0d21d..7b1e20dc9e4dd66b403ffb09dbde1d02747d9164 100644 (file)
 #ifndef _WX_CW__
 #define _WX_CW__
 
+#if __MWERKS__ >= 0x2400
+#pragma old_argmatch on
+#endif
+
+#if __option(profile)
+#ifdef __cplusplus
+       #if __POWERPC__
+               #include <wx_PPC++_prof.mch>
+       #elif __INTEL__
+               #include <wx_x86++_prof.mch>
+       #elif __CFM68K__
+               #include <wx_cfm++_prof.mch>
+       #else
+               #include <wx_68k++_prof.mch>
+       #endif
+#else
+       #if __POWERPC__
+               #include <wx_PPC_prof.mch>
+       #elif __INTEL__
+               #include <wx_x86_prof.mch>
+       #elif __CFM68K__
+               #include <wx_cfm_prof.mch>
+       #else
+               #include <wx_68k_prof.mch>
+       #endif
+#endif
+#else
 #ifdef __cplusplus
        #if __POWERPC__
                #include <wx_PPC++.mch>
@@ -33,6 +60,6 @@
                #include <wx_68k.mch>
        #endif
 #endif
-
+#endif
 #endif
     // _WX_CW__