]> git.saurik.com Git - wxWidgets.git/blame - include/wx/wx_cw_cm.h
use wxBusyCursor in wxHtmlWindow instead of SetCursor (the next step is figuring...
[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
d015713e
SC
9#if __MWERKS__ >= 0x2400
10#pragma old_argmatch on
11#endif
12
17069255
SC
13#if (__MWERKS__ < 0x0900) || macintosh
14 #define __MAC__
15 #define __WXMAC__
17069255
SC
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>
585ae8cb 31 #include <ansi_parms.h>
519cb848 32 #ifdef __MWERKS__
585ae8cb
SC
33 #if defined( __MSL__ ) && __MSL__ >= 0x5012
34 #define fileno _fileno
35 #define fdopen _fdopen
36 #define tell _tell
37 #endif
519cb848 38 #endif
17069255 39#elif defined( __WXMAC__)
95e59663
SC
40 #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/
41 #include "MacHeaders.c"
17069255 42 #include <ansi_prefix.mac.h>
95e59663
SC
43 #if UNIVERSAL_INTERFACES_VERSION < 0x0340
44 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
45 #endif
17069255
SC
46#endif
47
48#define USE_DEFINE
519cb848 49
17069255
SC
50// in order to avoid problems further down in wxWindows
51
52#ifdef __cplusplus
519cb848 53
17069255
SC
54extern "C"
55{
56#endif
57 char *strdup(const char *s) ;
58 int isascii( int c ) ;
59#ifdef __cplusplus
60} ;
61#endif
62