]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/wx.rc
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / msw / wx.rc
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
99d80019
JS
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
1e3698e5 11/////////////////////////////////////////////////////////////////////////////
2bda0e17 12
2cef71bc 13#include <windows.h>
2bda0e17 14
39d2f9a7 15#if defined(_WIN32_WCE)
04e539f5 16 #include "wx/msw/wince/wince.rc"
39d2f9a7
JS
17#endif
18
c8d58531
MW
19#include "wx/msw/rcdefs.h"
20
2bda0e17
KB
21//////////////////////////////////////////////////////////////////////////////
22//
23// This is the MDI Window menu
24//
25
26wxWindowMenu MENU DISCARDABLE
27BEGIN
28 POPUP "&Window"
29 BEGIN
30 MENUITEM "&Cascade", 4002
42e69d6b
VZ
31 MENUITEM "Tile &Horizontally", 4001
32 MENUITEM "Tile &Vertically", 4005
33 MENUITEM "", -1
7f555861 34 MENUITEM "&Arrange Icons", 4003
2bda0e17
KB
35 MENUITEM "&Next", 4004
36 END
37END
38
39//////////////////////////////////////////////////////////////////////////////
40//
41// Standard wxWindows Cursors
42//
43
44WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur"
45WXCURSOR_BULLSEYE CURSOR DISCARDABLE "wx/msw/bullseye.cur"
46WXCURSOR_PENCIL CURSOR DISCARDABLE "wx/msw/pencil.cur"
47WXCURSOR_MAGNIFIER CURSOR DISCARDABLE "wx/msw/magnif1.cur"
2bda0e17 48WXCURSOR_ROLLER CURSOR DISCARDABLE "wx/msw/roller.cur"
2bda0e17
KB
49WXCURSOR_PBRUSH CURSOR DISCARDABLE "wx/msw/pbrush.cur"
50WXCURSOR_PLEFT CURSOR DISCARDABLE "wx/msw/pntleft.cur"
51WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur"
2bda0e17 52WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur"
27e7e859 53WXCURSOR_CROSS CURSOR DISCARDABLE "wx/msw/cross.cur"
15dadf31 54
2bda0e17
KB
55
56//////////////////////////////////////////////////////////////////////////////
57//
58// Default Icons
59//
60
06ad6296
VZ
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
63wxICON_AAA ICON "wx/msw/std.ico"
64
c085e333
VZ
65//wxDEFAULT_FRAME ICON "wx/msw/std.ico"
66//wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico"
67//wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico"
2bda0e17 68
51a58d8b
JS
69// Standard small icons
70wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico"
71wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico"
72wxICON_SMALL_FILE ICON "wx/msw/file1.ico"
73wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico"
74wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico"
75wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico"
76wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico"
77wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico"
1e3698e5 78
2bda0e17
KB
79//////////////////////////////////////////////////////////////////////////////
80//
81// Bitmaps
82//
83
fb6261e9 84// For wxContextHelpButton
84bfc0d5 85csquery BITMAP "wx/msw/csquery.bmp"
039df303
JS
86
87// For obtaining the RGB values of standard colours
88wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp"
89
5db93205
VS
90//////////////////////////////////////////////////////////////////////////////
91//
15f74a3f
VZ
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.
5db93205
VS
96//
97
b1f68ca3 98#if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
a862159d 99
15f74a3f 100#if defined(wxUSE_RC_MANIFEST) && wxUSE_RC_MANIFEST
e396018d 101
20ed1e94
VZ
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
c8d58531 109#if defined(WX_CPU_AMD64)
20ed1e94 110wxMANIFEST_ID 24 "wx/msw/amd64.manifest"
6429ac6d 111#elif defined(WX_CPU_IA64)
20ed1e94 112wxMANIFEST_ID 24 "wx/msw/ia64.manifest"
c8d58531 113#elif defined(WX_CPU_X86)
20ed1e94 114wxMANIFEST_ID 24 "wx/msw/wx.manifest"
15f74a3f
VZ
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."
b1f68ca3
JS
123#endif
124
15f74a3f 125#endif // wxUSE_RC_MANIFEST
a862159d 126
e396018d 127#endif // !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)