]>
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 | ||
d22699b5 VZ |
12 | // compiler detection; includes setup.h |
13 | #include "wx/defs.h" | |
858f7d66 | 14 | |
d22699b5 VZ |
15 | // check if to use precompiled headers: do it for most Windows compilers unless |
16 | // explicitly disabled by defining NOPCH | |
1777b9bb | 17 | #if ((defined(__BORLANDC__) || defined(__VISUALC__) || defined(__WATCOMC__)) && defined(__WXMSW__)) || defined(__WXPM__) |
74295623 | 18 | #if !defined(NOPCH) |
3f4a0c5b VZ |
19 | #define WX_PRECOMP |
20 | #endif | |
c801d85f KB |
21 | #endif |
22 | ||
23 | // For some reason, this must be defined for common dialogs to work. | |
24 | #ifdef __WATCOMC__ | |
d22699b5 | 25 | #define INCLUDE_COMMDLG_H 1 |
c801d85f KB |
26 | #endif |
27 | ||
c801d85f | 28 | #ifdef WX_PRECOMP |
c801d85f | 29 | |
d22699b5 | 30 | // include standard Windows headers |
6bbd3344 | 31 | #ifdef __WXMSW__ |
d22699b5 VZ |
32 | #include <windows.h> |
33 | #include "wx/msw/winundef.h" | |
b4277bbc | 34 | #endif |
c801d85f | 35 | |
d22699b5 | 36 | // include the most common wx headers |
6bbd3344 | 37 | #include "wx/wx.h" |
c801d85f | 38 | |
ac15e21d | 39 | #endif // WX_PRECOMP |