]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wx_cw_cm.h
use base class implementation
[wxWidgets.git] / include / wx / wx_cw_cm.h
1 #define MSL_USE_PRECOMPILED_HEADERS 0
2 #if __WXDEBUG__
3 // mac os assert levels
4 #define DEBUG 1
5 #define DEBUG_INTERNAL 1
6 #endif
7 #if !defined( __MWERKS__ )
8 #error "this file is only for builds with Metrowerks CodeWarrior"
9 #endif
10
11 #define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition
12
13 #if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200
14 #pragma old_argmatch on
15 #endif
16
17 #if (__MWERKS__ < 0x0900) || macintosh || __MACH__
18 #define __MAC__
19 #define __WXMAC__
20 #elif (__MWERKS__ >= 0x0900) && __INTEL__
21 #define WIN32
22 #define _WINDOWS
23 #define __WXMSW__
24 #define __WINDOWS__
25 #define __WIN95__
26 #define __WIN32__
27 #define STRICT
28 #define NOMINMAX
29 #elif __BEOS__
30 #include <ansi_prefix.be.h>
31 #include <Be.h>
32 #else
33 #error unknown MW compiler
34 #endif
35
36 #ifdef __WXMSW__
37 #include <ansi_prefix.win32.h>
38 #include <ansi_parms.h>
39 #ifdef __MWERKS__
40 #if defined( __MSL__ ) && __MSL__ >= 0x5012 && __MSL__ < 0x7000
41 #define fileno _fileno
42 #define fdopen _fdopen
43 #define tell _tell
44 #endif
45 #endif
46 #elif defined( __WXMAC__)
47 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
48 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
49 #if defined( __WXDEBUG__ ) && !defined(__MACH__)
50 // otherwise the debugger looses all symbol information
51 #define OPAQUE_TOOLBOX_STRUCTS 0
52 #else
53 #define OPAQUE_TOOLBOX_STRUCTS 1
54 #endif
55 #ifdef __MACH__
56 #include <ansi_prefix.mach.h>
57 #include <msl_c_version.h>
58 #include <stdint.h>
59 #undef WCHAR_MAX
60 #include <machine/ansi.h>
61 #else
62 #include <ansi_prefix.mac.h>
63 #endif
64 // for getting the correct expat includes
65 #define MACOS_CLASSIC
66 /*
67 #include <MacTypes.h>
68 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
69 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
70 #endif
71 */
72 #endif
73
74 #define USE_DEFINE
75
76 // in order to avoid problems further down in wxWindows
77
78 #ifdef __cplusplus
79
80 extern "C"
81 {
82 #endif
83 char *strdup(const char *s) ;
84 int isascii( int c ) ;
85 #ifdef __cplusplus
86 }
87 #endif
88