]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/wxprec.h
ec7f60c7f038840841234afef8964803fb2cf885
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Includes the appropriate files for precompiled headers
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // compiler detection; includes setup.h
15 // check if to use precompiled headers: do it for most Windows compilers unless
16 // explicitly disabled by defining NOPCH
17 #if defined(__VISUALC__) || \
19 defined(__VISAGECPP__) || \
20 defined(__WATCOMC__) || \
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__)
31 // For some reason, this must be defined for common dialogs to work.
33 #define INCLUDE_COMMDLG_H 1
38 // include "wx/chartype.h" first to ensure that UNICODE macro is correctly set
39 // _before_ including <windows.h>
40 #include "wx/chartype.h"
42 // include standard Windows headers
43 #if defined(__WINDOWS__)
44 #include "wx/msw/wrapwin.h"
45 #include "wx/msw/private.h"
47 #if defined(__WXMSW__)
48 #include "wx/msw/wrapcctl.h"
49 #include "wx/msw/wrapcdlg.h"
50 #include "wx/msw/missing.h"
55 # include "wx/os2/private.h"
58 // include the most common wx headers