]>
Commit | Line | Data |
---|---|---|
c801d85f KB |
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) | |
3f4a0c5b | 9 | // Licence: wxWindows licence |
c801d85f KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
858f7d66 VZ |
12 | #include "wx/setup.h" // always include this file (under Unix it's generated by configure) |
13 | #include "wx/defs.h" // compiler definitions | |
14 | ||
c801d85f | 15 | // check if to use precompiled headers |
3f4a0c5b | 16 | #if (defined(__BORLANDC__) || defined(__VISUALC__) || defined(__WATCOMC__)) && defined(__WXMSW__) |
74295623 | 17 | #if !defined(NOPCH) |
3f4a0c5b VZ |
18 | #define WX_PRECOMP |
19 | #endif | |
c801d85f KB |
20 | #endif |
21 | ||
22 | // For some reason, this must be defined for common dialogs to work. | |
23 | #ifdef __WATCOMC__ | |
3f4a0c5b | 24 | #define INCLUDE_COMMDLG_H 1 |
c801d85f KB |
25 | #endif |
26 | ||
27 | // include the wx definitions | |
28 | #ifdef WX_PRECOMP | |
c801d85f | 29 | |
6bbd3344 | 30 | #ifdef __WXMSW__ |
bc413685 | 31 | #include <windows.h> |
6bbd3344 | 32 | #include "wx/msw/winundef.h" |
b4277bbc | 33 | #endif |
c801d85f | 34 | |
6bbd3344 | 35 | #include "wx/wx.h" |
c801d85f | 36 | |
57c208c5 | 37 | |
858f7d66 | 38 | #endif // WX_PRECOMP |
c801d85f | 39 |