]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/wx.rc
warnings (and some errors) fixes for wxUniv DLL build
[wxWidgets.git] / include / wx / msw / wx.rc
CommitLineData
2bda0e17
KB
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.
2bda0e17 28//
1e3698e5
VZ
29// Version: $Id$
30/////////////////////////////////////////////////////////////////////////////
2bda0e17 31
57c208c5 32#if (defined( __GNUWIN32__ ) && !defined(__TWIN32__)) || defined(__MWERKS__)
1e3698e5 33 #include <wx/msw/gnuwin32/winresrc.h>
2bda0e17 34#else
1e3698e5 35 #include <windows.h>
2bda0e17
KB
36#endif
37
39d2f9a7
JS
38#if defined(_WIN32_WCE)
39 #include <commctrl.h>
40#endif
41
2bda0e17
KB
42//////////////////////////////////////////////////////////////////////////////
43//
44// This is the MDI Window menu
45//
46
47wxWindowMenu MENU DISCARDABLE
48BEGIN
49 POPUP "&Window"
50 BEGIN
51 MENUITEM "&Cascade", 4002
42e69d6b
VZ
52 MENUITEM "Tile &Horizontally", 4001
53 MENUITEM "Tile &Vertically", 4005
54 MENUITEM "", -1
7f555861 55 MENUITEM "&Arrange Icons", 4003
2bda0e17
KB
56 MENUITEM "&Next", 4004
57 END
58END
59
39d2f9a7
JS
60#ifdef _WIN32_WCE
61
62// Dummy menubar/toolbar for WinCE
63
645000 RCDATA DISCARDABLE
65BEGIN
66 // Popup menu name
67 5000,
68 // Count of items to put on the menu
69 0
70END
71
725000 MENU DISCARDABLE
73BEGIN
74 POPUP "Dummy"
75 BEGIN
76 MENUITEM "Dummy" 99
77 END
78END
79
12617ca5
JS
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
39d2f9a7
JS
89STRINGTABLE DISCARDABLE
90BEGIN
91 5001 "Dummy menu"
12617ca5
JS
92 IDS_DONE "Done"
93 IDS_CAP_MENU "Menu"
94END
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/*
109IDR_SMARTPHONE_MENUBAR MENU DISCARDABLE
110BEGIN
111 MENUITEM "Done", wxID_EXIT
112END
113
114STRINGTABLE DISCARDABLE
115BEGIN
116 IDS_DONE "Done"
117 IDS_CAP_MENU "Menu"
39d2f9a7
JS
118END
119
12617ca5
JS
120IDR_SMARTPHONE_MENUBAR RCDATA DISCARDABLE
121BEGIN
122 IDR_SMARTPHONE_MENUBAR, 1,
123 I_IMAGENONE, wxID_EXIT, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, IDS_DONE, 0, NOMENU,
124END
125*/
126
127// A resource for a two-button menubar
128
129IDR_SMARTPHONE_MENUBAR MENU DISCARDABLE
130BEGIN
131 MENUITEM "Done", wxID_EXIT
132 POPUP "Menu"
133 BEGIN
134 MENUITEM "OK", wxID_EXIT
135 END
136END
137
138IDR_SMARTPHONE_MENUBAR RCDATA DISCARDABLE
139BEGIN
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,
143END
144
145
39d2f9a7
JS
146#endif
147
148
2bda0e17
KB
149//////////////////////////////////////////////////////////////////////////////
150//
151// Standard wxWindows Cursors
152//
153
154WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur"
155WXCURSOR_BULLSEYE CURSOR DISCARDABLE "wx/msw/bullseye.cur"
156WXCURSOR_PENCIL CURSOR DISCARDABLE "wx/msw/pencil.cur"
157WXCURSOR_MAGNIFIER CURSOR DISCARDABLE "wx/msw/magnif1.cur"
158WXCURSOR_NO_ENTRY CURSOR DISCARDABLE "wx/msw/noentry.cur"
2bda0e17
KB
159WXCURSOR_ROLLER CURSOR DISCARDABLE "wx/msw/roller.cur"
160WXCURSOR_WATCH CURSOR DISCARDABLE "wx/msw/watch1.cur"
161WXCURSOR_PBRUSH CURSOR DISCARDABLE "wx/msw/pbrush.cur"
162WXCURSOR_PLEFT CURSOR DISCARDABLE "wx/msw/pntleft.cur"
163WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur"
164WXCURSOR_QARROW CURSOR DISCARDABLE "wx/msw/query.cur"
165WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur"
15dadf31
RD
166WXCURSOR_RIGHT_ARROW CURSOR DISCARDABLE "wx/msw/rightarr.cur"
167
2bda0e17
KB
168
169//////////////////////////////////////////////////////////////////////////////
170//
171// Default Icons
172//
173
c085e333
VZ
174//wxDEFAULT_FRAME ICON "wx/msw/std.ico"
175//wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico"
176//wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico"
2bda0e17 177
51a58d8b
JS
178// Standard small icons
179wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico"
180wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico"
181wxICON_SMALL_FILE ICON "wx/msw/file1.ico"
182wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico"
183wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico"
184wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico"
185wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico"
186wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico"
1e3698e5 187
2bda0e17
KB
188//////////////////////////////////////////////////////////////////////////////
189//
190// Bitmaps
191//
192
193wxDISABLE_BUTTON_BITMAP BITMAP "wx/msw/disable.bmp"
e841d486 194
fb6261e9 195// For wxContextHelpButton
84bfc0d5 196csquery BITMAP "wx/msw/csquery.bmp"
039df303
JS
197
198// For obtaining the RGB values of standard colours
199wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp"
200
5db93205
VS
201//////////////////////////////////////////////////////////////////////////////
202//
203// Manifest file for Windows XP
204//
205
b1f68ca3 206#if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
5db93205 2071 24 "wx/msw/wx.manifest"
b1f68ca3
JS
208#endif
209