X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c0571f3419db967401acc081ff8924e4e4152f8..401e3b6e5f50f15571b86297b5d1e3f55c473f6f:/include/wx/wx_cwc_d.h diff --git a/include/wx/wx_cwc_d.h b/include/wx/wx_cwc_d.h index b5649cd4a0..db884d9a24 100644 --- a/include/wx/wx_cwc_d.h +++ b/include/wx/wx_cwc_d.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx_cw_d.h -// Purpose: wxWindows definitions for CodeWarrior builds (Debug) +// Purpose: wxWidgets definitions for CodeWarrior builds (Debug) // Author: Stefan Csomor // Modified by: // Created: 12/10/98 @@ -12,16 +12,24 @@ #ifndef _WX_CW__ #define _WX_CW__ +#if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200 +#pragma old_argmatch on +#endif + #if __option(profile) #error "profiling is not supported in debug versions" #else #ifdef __cplusplus - #if __POWERPC__ - #include + #ifdef __MACH__ + #include "wx_Mach++_d.mch" + #elif __POWERPC__ + #include "wx_Carbon++_d.mch" #endif #else - #if __POWERPC__ - #include + #ifdef __MACH__ + #include "wx_Mach_d.mch" + #elif __POWERPC__ + #include "wx_Carbon_d.mch" #endif #endif #endif