X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..401e3b6e5f50f15571b86297b5d1e3f55c473f6f:/include/wx/wx_cw.h diff --git a/include/wx/wx_cw.h b/include/wx/wx_cw.h index c8bf670a26..e692cbff0e 100644 --- a/include/wx/wx_cw.h +++ b/include/wx/wx_cw.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx_cw.h -// Purpose: wxWindows definitions for CodeWarrior builds +// Purpose: wxWidgets definitions for CodeWarrior builds // Author: Stefan Csomor // Modified by: // Created: 12/10/98 @@ -12,6 +12,33 @@ #ifndef _WX_CW__ #define _WX_CW__ +#if __MWERKS__ >= 0x2400 +#pragma old_argmatch on +#endif + +#if __option(profile) +#ifdef __cplusplus + #if __POWERPC__ + #include + #elif __INTEL__ + #include + #elif __CFM68K__ + #include + #else + #include + #endif +#else + #if __POWERPC__ + #include + #elif __INTEL__ + #include + #elif __CFM68K__ + #include + #else + #include + #endif +#endif +#else #ifdef __cplusplus #if __POWERPC__ #include @@ -33,6 +60,6 @@ #include #endif #endif - +#endif #endif // _WX_CW__