]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/wxprec.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Includes the appropriate files for precompiled headers
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // compiler detection; includes setup.h
14 // check if to use precompiled headers: do it for most Windows compilers unless
15 // explicitly disabled by defining NOPCH
16 #if defined(__VISUALC__) || \
18 defined(__VISAGECPP__) || \
19 defined(__WATCOMC__) || \
23 // If user did not request NOCPH and we're not building using configure
24 // then assume user wants precompiled headers.
25 #if !defined(NOPCH) && !defined(__WX_SETUP_H__)
30 // For some reason, this must be defined for common dialogs to work.
32 #define INCLUDE_COMMDLG_H 1
37 // include "wx/chartype.h" first to ensure that UNICODE macro is correctly set
38 // _before_ including <windows.h>
39 #include "wx/chartype.h"
41 // include standard Windows headers
42 #if defined(__WINDOWS__)
43 #include "wx/msw/wrapwin.h"
44 #include "wx/msw/private.h"
46 #if defined(__WXMSW__)
47 #include "wx/msw/wrapcctl.h"
48 #include "wx/msw/wrapcdlg.h"
49 #include "wx/msw/missing.h"
54 # include "wx/os2/private.h"
57 // include the most common wx headers