]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/wxprec.h
implemented wxIsDebuggerRunning() for Win32
[wxWidgets.git] / include / wx / wxprec.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: 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)
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(__WXMSW__) && \
18 ( defined(__BORLANDC__) || \
19 defined(__VISUALC__) || \
20 defined(__DIGITALMARS__) || \
21 defined(__WATCOMC__) ) ) || \
22 defined(__VISAGECPP__) || \
23 defined(__MWERKS__)
24
25 #if !defined(NOPCH)
26 #define WX_PRECOMP
27 #endif
28#endif
29
30// For some reason, this must be defined for common dialogs to work.
31#ifdef __WATCOMC__
32 #define INCLUDE_COMMDLG_H 1
33#endif
34
35#ifdef WX_PRECOMP
36
37// include <wx/wxchar.h> first to ensure that UNICODE macro is correctly set
38// _before_ including <windows.h>
39#include "wx/wxchar.h"
40
41// include standard Windows headers
42#if defined(__WXMSW__)
43 #include "wx/msw/wrapwin.h"
44#endif
45
46// include the most common wx headers
47#include "wx/wx.h"
48
49#endif // WX_PRECOMP