]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/genrcdefs.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / genrcdefs.h
1 /*
2 * Name: wx/msw/genrcdefs.h
3 * Purpose: Emit preprocessor symbols into rcdefs.h for resource compiler
4 * Author: Mike Wetherell
5 * Copyright: (c) 2005 Mike Wetherell
6 * Licence: wxWindows licence
7 */
8
9 #define EMIT(line) line
10
11 EMIT(#ifndef _WX_RCDEFS_H)
12 EMIT(#define _WX_RCDEFS_H)
13
14 #ifdef _MSC_FULL_VER
15 #if _MSC_FULL_VER < 140040130
16 EMIT(#define wxUSE_RC_MANIFEST 1)
17 #endif
18 #else
19 EMIT(#define wxUSE_RC_MANIFEST 1)
20 #endif
21
22 #ifdef _M_AMD64
23 EMIT(#define WX_CPU_AMD64)
24 #endif
25
26 #ifdef _M_ARM
27 EMIT(#define WX_CPU_ARM)
28 #endif
29
30 #ifdef _M_IA64
31 EMIT(#define WX_CPU_IA64)
32 #endif
33
34 #if defined _M_IX86 || defined _X86_
35 EMIT(#define WX_CPU_X86)
36 #endif
37
38 #ifdef _M_PPC
39 EMIT(#define WX_CPU_PPC)
40 #endif
41
42 #ifdef _M_SH
43 EMIT(#define WX_CPU_SH)
44 #endif
45
46 EMIT(#endif)