]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_cm.h
Window management and sizer layout corrections
[wxWidgets.git] / include / wx / wx_cw_cm.h
1 #define MSL_USE_PRECOMPILED_HEADERS 0
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__ >= 0x2400
10 #pragma old_argmatch on
11 #endif
12
13 #if (__MWERKS__ < 0x0900) || macintosh
14 #define __MAC__
15 #define __WXMAC__
16 #elif (__MWERKS__ >= 0x0900) && __INTEL__
17 #define __WXMSW__
18 #define __WINDOWS__
19 #define __WIN95__
20 #define STRICT
21 #define NOMINMAX
22 #elif __BEOS__
23 #include <ansi_prefix.be.h>
24 #include <Be.h>
25 #else
26 #error unknown MW compiler
27 #endif
28
29 #ifdef __WXMSW__
30 #include <ansi_prefix.win32.h>
31 #include <ansi_parms.h>
32 #ifdef __MWERKS__
33 #if defined( __MSL__ ) && __MSL__ >= 0x5012
34 #define fileno _fileno
35 #define fdopen _fdopen
36 #define tell _tell
37 #endif
38 #endif
39 #elif defined( __WXMAC__)
40 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
41 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
42 #ifdef __WXDEBUG__
43 // otherwise the debugger looses all symbol information
44 #define OPAQUE_TOOLBOX_STRUCTS 0
45 #else
46 #define OPAQUE_TOOLBOX_STRUCTS 1
47 #endif
48 #include <ansi_prefix.mac.h>
49 /*
50 #include <MacTypes.h>
51 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
52 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
53 #endif
54 */
55 #endif
56
57 #define USE_DEFINE
58
59 // in order to avoid problems further down in wxWindows
60
61 #ifdef __cplusplus
62
63 extern "C"
64 {
65 #endif
66 char *strdup(const char *s) ;
67 int isascii( int c ) ;
68 #ifdef __cplusplus
69 } ;
70 #endif
71