]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wx.rc
BCC fixes
[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 //
6 // wxWindows version 1.50
7 // Copyright (c) 1993 Artificial Intelligence Applications Institute,
8 // The University of Edinburgh
9 //
10 // Author: Julian Smart
11 // Date: 9-4-93
12 //
13 // Permission to use, copy, modify, and distribute this software and its
14 // documentation for any purpose is hereby granted without fee, provided
15 // that the above copyright notice, author statement and this permission
16 // notice appear in all copies of this software and related documentation.
17 //
18 // THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS,
19 // IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
20 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
21 //
22 // IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE
23 // UNIVERSITY OF EDINBURGH BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
24 // CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM
25 // LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF
26 // DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
27 // THE USE OR PERFORMANCE OF THIS SOFTWARE.
28 //
29 // Version: $Id$
30 /////////////////////////////////////////////////////////////////////////////
31
32 #if (defined( __GNUWIN32__ ) && !defined(__TWIN32__)) || defined(__MWERKS__)
33 #include <wx/msw/gnuwin32/winresrc.h>
34 #else
35 #include <windows.h>
36 #endif
37
38 #if defined(_WIN32_WCE)
39 #include <commctrl.h>
40 #endif
41
42 //////////////////////////////////////////////////////////////////////////////
43 //
44 // This is the MDI Window menu
45 //
46
47 wxWindowMenu MENU DISCARDABLE
48 BEGIN
49 POPUP "&Window"
50 BEGIN
51 MENUITEM "&Cascade", 4002
52 MENUITEM "Tile &Horizontally", 4001
53 MENUITEM "Tile &Vertically", 4005
54 MENUITEM "", -1
55 MENUITEM "&Arrange Icons", 4003
56 MENUITEM "&Next", 4004
57 END
58 END
59
60 #ifdef _WIN32_WCE
61
62 // Dummy menubar/toolbar for WinCE
63
64 5000 RCDATA DISCARDABLE
65 BEGIN
66 // Popup menu name
67 5000,
68 // Count of items to put on the menu
69 0
70 END
71
72 5000 MENU DISCARDABLE
73 BEGIN
74 POPUP "Dummy"
75 BEGIN
76 MENUITEM "Dummy" 99
77 END
78 END
79
80 // A menubar for Smartphone, which can only have 1 or 2 menu buttons.
81
82 #define IDR_SMARTPHONE_MENUBAR 5002
83 #define ID_FIRST_BUTTON 40001
84 #define ID_SECOND_BUTTON 40002
85 #define IDS_CAP_MENU 40003
86 #define ID_MENU_TEST 40004
87 #define IDS_DONE 40006
88
89 STRINGTABLE DISCARDABLE
90 BEGIN
91 5001 "Dummy menu"
92 IDS_DONE "Done"
93 IDS_CAP_MENU "Menu"
94 END
95
96 #ifndef I_IMAGENONE
97 #define I_IMAGENONE (-2)
98 #endif
99 #ifndef NOMENU
100 #define NOMENU 0xFFFF
101 #endif
102
103 #ifndef wxID_EXIT
104 #define wxID_EXIT 5006
105 #endif
106
107 // A resource for a one-button menubar
108 /*
109 IDR_SMARTPHONE_MENUBAR MENU DISCARDABLE
110 BEGIN
111 MENUITEM "Done", wxID_EXIT
112 END
113
114 STRINGTABLE DISCARDABLE
115 BEGIN
116 IDS_DONE "Done"
117 IDS_CAP_MENU "Menu"
118 END
119
120 IDR_SMARTPHONE_MENUBAR RCDATA DISCARDABLE
121 BEGIN
122 IDR_SMARTPHONE_MENUBAR, 1,
123 I_IMAGENONE, wxID_EXIT, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, IDS_DONE, 0, NOMENU,
124 END
125 */
126
127 // A resource for a two-button menubar
128
129 IDR_SMARTPHONE_MENUBAR MENU DISCARDABLE
130 BEGIN
131 MENUITEM "Done", wxID_EXIT
132 POPUP "Menu"
133 BEGIN
134 MENUITEM "OK", wxID_EXIT
135 END
136 END
137
138 IDR_SMARTPHONE_MENUBAR RCDATA DISCARDABLE
139 BEGIN
140 IDR_SMARTPHONE_MENUBAR, 2,
141 I_IMAGENONE, wxID_EXIT, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, IDS_DONE, 0, NOMENU,
142 I_IMAGENONE, ID_SECOND_BUTTON, TBSTATE_ENABLED, TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_MENU, 0, 1,
143 END
144
145
146 #endif
147
148
149 //////////////////////////////////////////////////////////////////////////////
150 //
151 // Standard wxWindows Cursors
152 //
153
154 WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur"
155 WXCURSOR_BULLSEYE CURSOR DISCARDABLE "wx/msw/bullseye.cur"
156 WXCURSOR_PENCIL CURSOR DISCARDABLE "wx/msw/pencil.cur"
157 WXCURSOR_MAGNIFIER CURSOR DISCARDABLE "wx/msw/magnif1.cur"
158 WXCURSOR_NO_ENTRY CURSOR DISCARDABLE "wx/msw/noentry.cur"
159 WXCURSOR_ROLLER CURSOR DISCARDABLE "wx/msw/roller.cur"
160 WXCURSOR_WATCH CURSOR DISCARDABLE "wx/msw/watch1.cur"
161 WXCURSOR_PBRUSH CURSOR DISCARDABLE "wx/msw/pbrush.cur"
162 WXCURSOR_PLEFT CURSOR DISCARDABLE "wx/msw/pntleft.cur"
163 WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur"
164 WXCURSOR_QARROW CURSOR DISCARDABLE "wx/msw/query.cur"
165 WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur"
166 WXCURSOR_RIGHT_ARROW CURSOR DISCARDABLE "wx/msw/rightarr.cur"
167
168
169 //////////////////////////////////////////////////////////////////////////////
170 //
171 // Default Icons
172 //
173
174 //wxDEFAULT_FRAME ICON "wx/msw/std.ico"
175 //wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico"
176 //wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico"
177
178 // Standard small icons
179 wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico"
180 wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico"
181 wxICON_SMALL_FILE ICON "wx/msw/file1.ico"
182 wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico"
183 wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico"
184 wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico"
185 wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico"
186 wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico"
187
188 //////////////////////////////////////////////////////////////////////////////
189 //
190 // Bitmaps
191 //
192
193 wxDISABLE_BUTTON_BITMAP BITMAP "wx/msw/disable.bmp"
194
195 // For wxContextHelpButton
196 csquery BITMAP "wx/msw/csquery.bmp"
197
198 // For obtaining the RGB values of standard colours
199 wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp"
200
201 //////////////////////////////////////////////////////////////////////////////
202 //
203 // Manifest file for Windows XP
204 //
205
206 #if !defined(__WIN64__)
207 #if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
208 1 24 "wx/msw/wx.manifest"
209 #endif
210 #endif
211