]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/wxprec.h
headers are now installed by automake too
[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#include "wx/setup.h" // always include this file (under Unix it's generated by configure)
13#include "wx/defs.h" // compiler definitions
14
15// check if to use precompiled headers
16#if (defined(__BORLANDC__) || defined(__VISUALC__) || defined(__WATCOMC__)) && defined(__WXMSW__)
17 #if !defined(NOPCH)
18 #define WX_PRECOMP
19 #endif
20#endif
21
22// For some reason, this must be defined for common dialogs to work.
23#ifdef __WATCOMC__
24#define INCLUDE_COMMDLG_H 1
25#endif
26
27// include the wx definitions
28#ifdef WX_PRECOMP
29
30#ifdef __WXMSW__
31#include <windows.h>
32#include "wx/msw/winundef.h"
33#endif
34
35#include "wx/wx.h"
36
37
38#endif // WX_PRECOMP
39