]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wxprec.h
support retina display
[wxWidgets.git] / include / wx / wxprec.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/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) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // compiler detection; includes setup.h
13 #include "wx/defs.h"
14
15 // check if to use precompiled headers: do it for most Windows compilers unless
16 // explicitly disabled by defining NOPCH
17 #if defined(__VISUALC__) || \
18 defined(__DMC__) || \
19 defined(__VISAGECPP__) || \
20 defined(__WATCOMC__) || \
21 defined(__BORLANDC__)
22
23
24 // If user did not request NOCPH and we're not building using configure
25 // then assume user wants precompiled headers.
26 #if !defined(NOPCH) && !defined(__WX_SETUP_H__)
27 #define WX_PRECOMP
28 #endif
29 #endif
30
31 // For some reason, this must be defined for common dialogs to work.
32 #ifdef __WATCOMC__
33 #define INCLUDE_COMMDLG_H 1
34 #endif
35
36 #ifdef WX_PRECOMP
37
38 // include "wx/chartype.h" first to ensure that UNICODE macro is correctly set
39 // _before_ including <windows.h>
40 #include "wx/chartype.h"
41
42 // include standard Windows headers
43 #if defined(__WINDOWS__)
44 #include "wx/msw/wrapwin.h"
45 #include "wx/msw/private.h"
46 #endif
47 #if defined(__WXMSW__)
48 #include "wx/msw/wrapcctl.h"
49 #include "wx/msw/wrapcdlg.h"
50 #include "wx/msw/missing.h"
51 #endif
52
53 // include <os2.h>
54 #ifdef __OS2__
55 # include "wx/os2/private.h"
56 #endif
57
58 // include the most common wx headers
59 #include "wx/wx.h"
60
61 #endif // WX_PRECOMP