]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wxprec.h
Unicode. You know the drill.
[wxWidgets.git] / include / wx / wxprec.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wxprec.h
3 // Purpose: Includes the appropriate files for precompiled headers
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c)
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #include "wx/setup.h" // always include this file (under Unix it's generated by configure)
13 #include "wx/defs.h" // compiler definitions
14
15 // check if to use precompiled headers
16 #if (defined(__BORLANDC__) || defined(__VISUALC__) || defined(__WATCOMC__)) && defined(__WXMSW__)
17 #if !NOPCH
18 #define WX_PRECOMP
19 #endif
20 #endif
21
22 // For some reason, this must be defined for common dialogs to work.
23 #ifdef __WATCOMC__
24 #define INCLUDE_COMMDLG_H 1
25 #endif
26
27 // include the wx definitions
28 #ifdef WX_PRECOMP
29 #include "wx/wx.h"
30
31 // Comment this out if you don't mind slower compilation of the wxWindows
32 // library
33 #if !defined(__WXMAC__) && !defined(__SALFORDC__)
34 #include <windows.h>
35 #endif
36
37 #ifdef GetClassInfo
38 #undef GetClassInfo
39 #endif
40
41 #ifdef GetClassName
42 #undef GetClassName
43 #endif
44
45 #ifdef DrawText
46 #undef DrawText
47 #endif
48
49 #ifdef GetCharWidth
50 #undef GetCharWidth
51 #endif
52
53 #ifdef StartDoc
54 #undef StartDoc
55 #endif
56
57 #ifdef FindWindow
58 #undef FindWindow
59 #endif
60
61 #ifdef FindResource
62 #undef FindResource
63 #endif
64
65 #ifdef LoadAccelerators
66 #undef LoadAccelerators
67 #endif
68
69 #endif // WX_PRECOMP
70