]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wxprec.h
Tries unsuccesfully to cure a few more problems
[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 // check if to use precompiled headers
13 #if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__GNUWIN32__)) && defined(__WXMSW__)
14 #if !NOPCH
15 #define WX_PRECOMP
16 #endif
17 #endif
18
19 // For some reason, this must be defined for common dialogs to work.
20 #ifdef __WATCOMC__
21 #define INCLUDE_COMMDLG_H 1
22 #endif
23
24 // include the wx definitions
25 #ifdef WX_PRECOMP
26 #include "wx/wx.h"
27
28 // Comment this out if you don't mind slower compilation of the wxWindows
29 // library
30 #include <windows.h>
31
32 #ifdef GetClassInfo
33 #undef GetClassInfo
34 #endif
35
36 #ifdef GetClassName
37 #undef GetClassName
38 #endif
39
40 #ifdef DrawText
41 #undef DrawText
42 #endif
43
44 #ifdef GetCharWidth
45 #undef GetCharWidth
46 #endif
47
48 #ifdef StartDoc
49 #undef StartDoc
50 #endif
51
52 #ifdef FindWindow
53 #undef FindWindow
54 #endif
55
56 #ifdef FindResource
57 #undef FindResource
58 #endif
59
60 #endif
61