]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/rcdefs.h
XRC: make wxSplitterWindow's sashpos and minpanesize dimensions.
[wxWidgets.git] / include / wx / msw / rcdefs.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/rcdefs.h
3 // Purpose: Fallback for the generated rcdefs.h under the lib directory
4 // Author: Mike Wetherell
5 // Copyright: (c) 2005 Mike Wetherell
6 // Licence: wxWindows licence
7 ///////////////////////////////////////////////////////////////////////////////
8
9 #ifndef _WX_RCDEFS_H
10 #define _WX_RCDEFS_H
11
12 #ifdef __GNUC__
13 // We must be using windres which uses gcc as its preprocessor. We do need
14 // to generate the manifest then as gcc doesn't do it automatically and we
15 // can define the architecture macro on our own as all the usual symbols
16 // are available (unlike with Microsoft RC.EXE which doesn't predefine
17 // anything useful at all).
18 #ifndef wxUSE_RC_MANIFEST
19 #define wxUSE_RC_MANIFEST 1
20 #endif
21
22 #if defined __i386__
23 #ifndef WX_CPU_X86
24 #define WX_CPU_X86
25 #endif
26 #elif defined __x86_64__
27 #ifndef WX_CPU_AMD64
28 #define WX_CPU_AMD64
29 #endif
30 #elif defined __ia64__
31 #ifndef WX_CPU_IA64
32 #define WX_CPU_IA64
33 #endif
34 #endif
35 #endif
36
37 // Don't do anything here for the other compilers, in particular don't define
38 // WX_CPU_X86 here as we used to do. If people define wxUSE_RC_MANIFEST, they
39 // must also define the architecture constant correctly.
40
41 #endif