]> git.saurik.com Git - wxWidgets.git/blame - include/wx/wx_cw_cm.h
Added, documented and used wxGridCellChoiceEditor
[wxWidgets.git] / include / wx / wx_cw_cm.h
CommitLineData
5273bf2f 1#define MSL_USE_PRECOMPILED_HEADERS 0
17069255
SC
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
d015713e
SC
9#if __MWERKS__ >= 0x2400
10#pragma old_argmatch on
11#endif
12
2d2ed20f 13#if (__MWERKS__ < 0x0900) || macintosh || __MACH__
17069255
SC
14 #define __MAC__
15 #define __WXMAC__
17069255 16#elif (__MWERKS__ >= 0x0900) && __INTEL__
ba14d986
VZ
17 #define WIN32
18 #define _WINDOWS
17069255
SC
19 #define __WXMSW__
20 #define __WINDOWS__
21 #define __WIN95__
ba14d986 22 #define __WIN32__
17069255
SC
23 #define STRICT
24 #define NOMINMAX
25#elif __BEOS__
26 #include <ansi_prefix.be.h>
27 #include <Be.h>
28#else
29 #error unknown MW compiler
30#endif
31
32#ifdef __WXMSW__
33 #include <ansi_prefix.win32.h>
585ae8cb 34 #include <ansi_parms.h>
519cb848 35 #ifdef __MWERKS__
ba14d986 36 #if defined( __MSL__ ) && __MSL__ >= 0x5012 && __MSL__ < 0x7000
585ae8cb
SC
37 #define fileno _fileno
38 #define fdopen _fdopen
39 #define tell _tell
40 #endif
519cb848 41 #endif
17069255 42#elif defined( __WXMAC__)
0326d968
GD
43 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
44 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
2d2ed20f 45 #if defined( __WXDEBUG__ ) && !defined(__MACH__)
0326d968
GD
46 // otherwise the debugger looses all symbol information
47 #define OPAQUE_TOOLBOX_STRUCTS 0
2d2ed20f
SC
48 #else
49 #define OPAQUE_TOOLBOX_STRUCTS 1
50 #endif
51 #ifdef __MACH__
52 #include <ansi_prefix.mach.h>
53 #include <msl_c_version.h>
54 #include <stdint.h>
55 #undef WCHAR_MAX
56 #include <machine/ansi.h>
57 #else
58 #include <ansi_prefix.mac.h>
4f357b2f 59 #endif
02ac8d7a
SC
60 // for getting the correct expat includes
61 #define MACOS_CLASSIC
62 /*
63 #include <MacTypes.h>
64 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
65 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
66 #endif
67 */
17069255
SC
68#endif
69
70#define USE_DEFINE
519cb848 71
17069255
SC
72// in order to avoid problems further down in wxWindows
73
74#ifdef __cplusplus
519cb848 75
17069255
SC
76extern "C"
77{
78#endif
79 char *strdup(const char *s) ;
80 int isascii( int c ) ;
81#ifdef __cplusplus
ba14d986 82}
17069255
SC
83#endif
84