]> git.saurik.com Git - wxWidgets.git/blame - include/wx/wx_cw_cm.h
Corrected grey scrolling windows; added C++Builder 3.0 fixes
[wxWidgets.git] / include / wx / wx_cw_cm.h
CommitLineData
17069255
SC
1#define MSL_USE_PRECOMPILED_HEADERS 1
2
3#if !defined( __MWERKS__ )
4 #error "this file is only for builds with Metrowerks CodeWarrior"
5#endif
6
7#define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition
8
9#if (__MWERKS__ < 0x0900) || macintosh
10 #define __MAC__
11 #define __WXMAC__
12 #define USE_PRECOMPILED_MAC_HEADERS 1 /*Set to 0 if you don't want to use precompiled MacHeaders*/
13// automatically includes MacHeaders
14#elif (__MWERKS__ >= 0x0900) && __INTEL__
15 #define __WXMSW__
16 #define __WINDOWS__
17 #define __WIN95__
18 #define STRICT
19 #define NOMINMAX
20#elif __BEOS__
21 #include <ansi_prefix.be.h>
22 #include <Be.h>
23#else
24 #error unknown MW compiler
25#endif
26
27#ifdef __WXMSW__
28 #include <ansi_prefix.win32.h>
29#elif defined( __WXMAC__)
30 #include <ansi_prefix.mac.h>
31#endif
32
33#define USE_DEFINE
34// in order to avoid problems further down in wxWindows
35
36#ifdef __cplusplus
37extern "C"
38{
39#endif
40 char *strdup(const char *s) ;
41 int isascii( int c ) ;
42#ifdef __cplusplus
43} ;
44#endif
45