]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wx.rc
Add wxIcon::CreateFromHICON() to wxMSW.
[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_RIGHT_ARROW CURSOR DISCARDABLE "wx/msw/rightarr.cur"
54 WXCURSOR_CROSS CURSOR DISCARDABLE "wx/msw/cross.cur"
55
56
57 //////////////////////////////////////////////////////////////////////////////
58 //
59 // Default Icons
60 //
61
62 // First wx icon in alphabetical order, so it will be used by Explorer if the
63 // application doesn't have any icons of its own
64 wxICON_AAA ICON "wx/msw/std.ico"
65
66 //wxDEFAULT_FRAME ICON "wx/msw/std.ico"
67 //wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico"
68 //wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico"
69
70 // Standard small icons
71 wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico"
72 wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico"
73 wxICON_SMALL_FILE ICON "wx/msw/file1.ico"
74 wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico"
75 wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico"
76 wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico"
77 wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico"
78 wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico"
79
80 //////////////////////////////////////////////////////////////////////////////
81 //
82 // Bitmaps
83 //
84
85 // For wxContextHelpButton
86 csquery BITMAP "wx/msw/csquery.bmp"
87
88 // For obtaining the RGB values of standard colours
89 wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp"
90
91 //////////////////////////////////////////////////////////////////////////////
92 //
93 // Include manifest file for common controls library v6 required to use themes.
94 //
95 // Predefining wxUSE_NO_MANIFEST as 1 always disables the use of the manifest.
96 // Otherwise we include it only if wxUSE_RC_MANIFEST is defined as 1.
97 //
98
99 #if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
100
101 #if defined(wxUSE_RC_MANIFEST) && wxUSE_RC_MANIFEST
102
103 // see "about isolated applications" topic in MSDN
104 #ifdef ISOLATION_AWARE_ENABLED
105 #define wxMANIFEST_ID 2
106 #else
107 #define wxMANIFEST_ID 1
108 #endif
109
110 #if defined(WX_CPU_AMD64)
111 wxMANIFEST_ID 24 "wx/msw/amd64.manifest"
112 #elif defined(WX_CPU_IA64)
113 wxMANIFEST_ID 24 "wx/msw/ia64.manifest"
114 #elif defined(WX_CPU_X86)
115 wxMANIFEST_ID 24 "wx/msw/wx.manifest"
116 #else
117 // Notice that if the manifest is included, WX_CPU_XXX constant corresponding
118 // to the architecture we're compiling for must be defined. This can be done
119 // either manually in your make/project file or by configuring the resource
120 // compiler paths to search in $(WXWIN)/lib/$(COMPILER_PREFIX)_lib/mswu[d]
121 // directory for its include files, as wx/msw/rcdefs.h file in this directory
122 // is generated during wxWidgets build and contains the correct definition.
123 #error "One of WX_CPU_XXX constants must be defined. See comment above."
124 #endif
125
126 #endif // wxUSE_RC_MANIFEST
127
128 #endif // !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)