]>
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 // adding DigitalMars here appears to amke it slower!
17 // explicitly disabled by defining NOPCH
18 #if ((defined(__BORLANDC__) || defined(__VISUALC__) || defined(__WATCOMC__)) && defined(__WXMSW__)) || defined(__VISAGECPP__) || defined(__MWERKS__)
24 // For some reason, this must be defined for common dialogs to work.
26 #define INCLUDE_COMMDLG_H 1
31 // include <wx/wxchar.h> first to ensure that UNICODE macro is correctly set
32 // _before_ including <windows.h>
33 #include "wx/wxchar.h"
35 // include standard Windows headers
36 #if defined(__WXMSW__) && !wxUSE_MFC
42 #include "wx/msw/winundef.h"
45 // include the most common wx headers