]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wx.rc
c6f941fb7c9cba559d86ba6647c771c395843d3f
[wxWidgets.git] / include / wx / msw / wx.rc
1 /////////////////////////////////////////////////////////////////////////////
2 // File: wx.rc
3 // Purpose: wxWindows resource definitions. ALWAYS include
4 // this in your application resource file.
5 // Author: Julian Smart
6 // Modified by:
7 // Created:
8 // Copyright: (c) Julian Smart
9 // RCS-ID: $Id$
10 // Licence: wxWindows Licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #include <windows.h>
14
15 #if defined(_WIN32_WCE)
16 #include "wx/msw/wince/wince.rc"
17 #endif
18
19 #include "wx/msw/rcdefs.h"
20
21 //////////////////////////////////////////////////////////////////////////////
22 //
23 // This is the MDI Window menu
24 //
25
26 wxWindowMenu MENU DISCARDABLE
27 BEGIN
28 POPUP "&Window"
29 BEGIN
30 MENUITEM "&Cascade", 4002
31 MENUITEM "Tile &Horizontally", 4001
32 MENUITEM "Tile &Vertically", 4005
33 MENUITEM "", -1
34 MENUITEM "&Arrange Icons", 4003
35 MENUITEM "&Next", 4004
36 END
37 END
38
39 //////////////////////////////////////////////////////////////////////////////
40 //
41 // Standard wxWindows Cursors
42 //
43
44 WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur"
45 WXCURSOR_BULLSEYE CURSOR DISCARDABLE "wx/msw/bullseye.cur"
46 WXCURSOR_PENCIL CURSOR DISCARDABLE "wx/msw/pencil.cur"
47 WXCURSOR_MAGNIFIER CURSOR DISCARDABLE "wx/msw/magnif1.cur"
48 WXCURSOR_ROLLER CURSOR DISCARDABLE "wx/msw/roller.cur"
49 WXCURSOR_PBRUSH CURSOR DISCARDABLE "wx/msw/pbrush.cur"
50 WXCURSOR_PLEFT CURSOR DISCARDABLE "wx/msw/pntleft.cur"
51 WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur"
52 WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur"
53 WXCURSOR_CROSS CURSOR DISCARDABLE "wx/msw/cross.cur"
54
55
56 //////////////////////////////////////////////////////////////////////////////
57 //
58 // Default Icons
59 //
60
61 // First wx icon in alphabetical order, so it will be used by Explorer if the
62 // application doesn't have any icons of its own
63 wxICON_AAA ICON "wx/msw/std.ico"
64
65 //wxDEFAULT_FRAME ICON "wx/msw/std.ico"
66 //wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico"
67 //wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico"
68
69 // Standard small icons
70 wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico"
71 wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico"
72 wxICON_SMALL_FILE ICON "wx/msw/file1.ico"
73 wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico"
74 wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico"
75 wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico"
76 wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico"
77 wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico"
78
79 //////////////////////////////////////////////////////////////////////////////
80 //
81 // Bitmaps
82 //
83
84 // For wxContextHelpButton
85 csquery BITMAP "wx/msw/csquery.bmp"
86
87 // For obtaining the RGB values of standard colours
88 wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp"
89
90 //////////////////////////////////////////////////////////////////////////////
91 //
92 // Include manifest file for common controls library v6 required to use themes.
93 //
94 // Predefining wxUSE_NO_MANIFEST as 1 always disables the use of the manifest.
95 // Otherwise we include it only if wxUSE_RC_MANIFEST is defined as 1.
96 //
97
98 #if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
99
100 #if defined(wxUSE_RC_MANIFEST) && wxUSE_RC_MANIFEST
101
102 // see "about isolated applications" topic in MSDN
103 #ifdef ISOLATION_AWARE_ENABLED
104 #define wxMANIFEST_ID 2
105 #else
106 #define wxMANIFEST_ID 1
107 #endif
108
109 #if defined(WX_CPU_AMD64)
110 wxMANIFEST_ID 24 "wx/msw/amd64.manifest"
111 #elif defined(WX_CPU_IA64)
112 wxMANIFEST_ID 24 "wx/msw/ia64.manifest"
113 #elif defined(WX_CPU_X86)
114 wxMANIFEST_ID 24 "wx/msw/wx.manifest"
115 #else
116 // Notice that if the manifest is included, WX_CPU_XXX constant corresponding
117 // to the architecture we're compiling for must be defined. This can be done
118 // either manually in your make/project file or by configuring the resource
119 // compiler paths to search in $(WXWIN)/lib/$(COMPILER_PREFIX)_lib/mswu[d]
120 // directory for its include files, as wx/msw/rcdefs.h file in this directory
121 // is generated during wxWidgets build and contains the correct definition.
122 #error "One of WX_CPU_XXX constants must be defined. See comment above."
123 #endif
124
125 #endif // wxUSE_RC_MANIFEST
126
127 #endif // !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)