]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/wx.rc
Fixed sashwin events
[wxWidgets.git] / include / wx / os2 / 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 2.1.11
7 //
8 // Author: David Webster
9 // Date: 11-21-99
10 //
11 // Permission to use, copy, modify, and distribute this software and its
12 // documentation for any purpose is hereby granted without fee, provided
13 // that the above copyright notice, author statement and this permission
14 // notice appear in all copies of this software and related documentation.
15 //
16 // THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS,
17 // IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
18 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
19 //
20 // IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE
21 // UNIVERSITY OF EDINBURGH BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
22 // CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM
23 // LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF
24 // DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
25 // THE USE OR PERFORMANCE OF THIS SOFTWARE.
26 //
27 // Version: $Id$
28 /////////////////////////////////////////////////////////////////////////////
29
30 #include <os2.h>
31
32 //////////////////////////////////////////////////////////////////////////////
33 //
34 // Dummy Dialog for all wxCAPTION Dialog boxes
35 //
36
37 //////////////////////////////////////////////////////////////////////////////
38 //
39 // This is the MDI Window menu
40 //
41
42 wxWindowMenu MENU DISCARDABLE
43 BEGIN
44 SUBMENU "&Window"
45 BEGIN
46 MENUITEM "&Cascade", 4002
47 MENUITEM "Tile &Horizontally", 4001
48 MENUITEM "Tile &Vertically", 4005
49 MENUITEM "", 0, MIS_SEPARATOR
50 MENUITEM "&Arrange Icons", 4003
51 MENUITEM "&Next", 4004
52 END
53 END
54
55 //////////////////////////////////////////////////////////////////////////////
56 //
57 // Standard wxWindows Cursors
58 //
59
60 POINTER WXCURSOR_HAND LOADONCALL "wx/os2/hand.ptr"
61 POINTER WXCURSOR_BULLSEYE LOADONCALL "wx/os2/bullseye.ptr"
62 POINTER WXCURSOR_PENCIL LOADONCALL "wx/os2/pencil.ptr"
63 POINTER WXCURSOR_MAGNIFIER LOADONCALL "wx/os2/magnif1.ptr"
64 POINTER WXCURSOR_NO_ENTRY LOADONCALL "wx/os2/noentry.ptr"
65 POINTER WXCURSOR_SIZING LOADONCALL "wx/os2/size.ptr"
66 POINTER WXCURSOR_ROLLER LOADONCALL "wx/os2/roller.ptr"
67 POINTER WXCURSOR_WATCH LOADONCALL "wx/os2/watch1.ptr"
68 POINTER WXCURSOR_PBRUSH LOADONCALL "wx/os2/pbrush.ptr"
69 POINTER WXCURSOR_PLEFT LOADONCALL "wx/os2/pntleft.ptr"
70 POINTER WXCURSOR_PRIGHT LOADONCALL "wx/os2/pntright.ptr"
71 POINTER WXCURSOR_QARROW LOADONCALL "wx/os2/query.ptr"
72 POINTER WXCURSOR_BLANK LOADONCALL "wx/os2/blank.ptr"
73
74 //////////////////////////////////////////////////////////////////////////////
75 //
76 // Default Icons
77 //
78
79 //ICON wxDEFAULT_FRAME PRELOAD "wx/os2/std.ico"
80 //ICON wxDEFAULT_MDIPARENTFRAME PRELOAD "wx/os2/mdi.ico"
81 //ICON wxDEFAULT_MDICHILDFRAME PRELOAD "wx/os2/child.ico"
82
83 // Standard icons
84 ICON wxICON_QUESTION PRELOAD "wx/os2/question.ico"
85 ICON wxICON_WARNING PRELOAD "wx/os2/warning.ico"
86 ICON wxICON_ERROR PRELOAD "wx/os2/error.ico"
87 ICON wxICON_INFO PRELOAD "wx/os2/info.ico"
88 ICON wxICON_TIP PRELOAD "wx/os2/tip.ico"
89
90 //////////////////////////////////////////////////////////////////////////////
91 //
92 // Bitmaps
93 //
94
95 BITMAP wxDISABLE_BUTTON_BITMAP LOADONCALL "wx/os2/disable.bmp"
96
97
98 // For src/generic/proplist.cpp
99 BITMAP tick_bmp LOADONCALL "wx/os2/tick.bmp"
100 BITMAP cross_bmp LOADONCALL "wx/os2/cross.bmp"
101
102 //////////////////////////////////////////////////////////////////////////////
103 //
104 // Main Frame Window menu for wxWindows OS/2
105 //
106 // OS/2 menues must be created from a resource file or binary menu template
107 // loaded from a resource file via a DosGetResource call. To keep interface
108 // compatability with other ports the default wxMenu constructor loads the
109 // below menu. Users can them add or delete menu items as they see fit in
110 // their own wxMenu derived classes or add them dynamically.
111 //
112
113 MENU IDR_MAIN
114 {
115 SUBMENU "~File", IDM_FILE, MIS_TEXT
116 {
117 MENUITEM "~New", IDM_FILENEW, MIS_TEXT
118 MENUITEM "~Open...\tCtrl+O", IDM_FILEOPEN, MIS_TEXT
119 MENUITEM SEPARATOR
120 MENUITEM "~Save...\tCtrl+O", IDM_FILESAVE, MIS_TEXT
121 MENUITEM "Save ~as...", IDM_FILESAVEAS, MIS_TEXT
122 MENUITEM SEPARATOR
123 MENUITEM "E~xit...", ID_CANCEL, MIS_TEXT
124 }
125
126 SUBMENU "~Edit", IDM_EDIT, MIS_TEXT
127 {
128 MENUITEM "~Undo\tAlt+Backspace", IDM_EDITUNDO, MIS_TEXT
129 MENUITEM SEPARATOR
130 MENUITEM "Cu~t\tShift+Delete", IDM_EDITCUT, MIS_TEXT
131 MENUITEM "~Copy\tCtrl+Insert", IDM_EDITCOPY, MIS_TEXT
132 MENUITEM "~Paste\tShift+Insert", IDM_EDITPASTE, MIS_TEXT
133 MENUITEM SEPARATOR
134 MENUITEM "Cl~ear\tDelete", IDM_EDITCLEAR, MIS_TEXT
135 }
136
137 /*
138 * Application specific menus go here.
139 */
140
141 SUBMENU "~Help", IDM_HELP, MIS_TEXT
142 {
143 MENUITEM "Help ~index", IDM_HELPINDEX, MIS_TEXT
144 MENUITEM "~General help", IDM_HELPGENERAL, MIS_TEXT
145 MENUITEM "~Using help", IDM_HELPUSINGHELP, MIS_TEXT
146 MENUITEM SEPARATOR
147 MENUITEM "~About", IDM_HELPABOUT, MIS_TEXT
148 }
149
150 }
151
152 ACCELTABLE IDR_MAIN
153 {
154 VK_BACKSPACE, IDM_EDITUNDO, VIRTUALKEY, ALT
155 VK_DELETE, IDM_EDITCUT, VIRTUALKEY, SHIFT
156 VK_INSERT, IDM_EDITCOPY, VIRTUALKEY, CONTROL
157 VK_INSERT, IDM_EDITPASTE, VIRTUALKEY, SHIFT
158 VK_DELETE, IDM_EDITCLEAR, VIRTUALKEY
159 }
160
161 STRINGTABLE
162 {
163 IDS_OPEN "Open"
164 IDS_SAVE "Save"
165 }
166
167