]>
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
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(__WXMSW__) && \
18 ( defined(__BORLANDC__) || \
19 defined(__VISUALC__) || \
20 defined(__DIGITALMARS__) || \
21 defined(__WATCOMC__) ) ) || \
22 defined(__VISAGECPP__) || \
25 // If user did not request NOCPH and we're not building using configure
26 // then assume user wants precompiled headers.
27 #if !defined(NOPCH) && !defined(__WX_SETUP_H__)
32 // For some reason, this must be defined for common dialogs to work.
34 #define INCLUDE_COMMDLG_H 1
39 // include <wx/wxchar.h> first to ensure that UNICODE macro is correctly set
40 // _before_ including <windows.h>
41 #include "wx/wxchar.h"
43 // include standard Windows headers
44 #if defined(__WXMSW__)
45 #include "wx/msw/wrapwin.h"
48 // include the most common wx headers