wx.rc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. // Licence: wxWindows Licence
  10. /////////////////////////////////////////////////////////////////////////////
  11. #include <windows.h>
  12. #if defined(_WIN32_WCE)
  13. #include "wx/msw/wince/wince.rc"
  14. #endif
  15. #include "wx/msw/rcdefs.h"
  16. //////////////////////////////////////////////////////////////////////////////
  17. //
  18. // This is the MDI Window menu
  19. //
  20. wxWindowMenu MENU DISCARDABLE
  21. BEGIN
  22. POPUP "&Window"
  23. BEGIN
  24. MENUITEM "&Cascade", 4002
  25. MENUITEM "Tile &Horizontally", 4001
  26. MENUITEM "Tile &Vertically", 4005
  27. MENUITEM "", -1
  28. MENUITEM "&Arrange Icons", 4003
  29. MENUITEM "&Next", 4004
  30. END
  31. END
  32. //////////////////////////////////////////////////////////////////////////////
  33. //
  34. // Standard wxWindows Cursors
  35. //
  36. WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur"
  37. WXCURSOR_BULLSEYE CURSOR DISCARDABLE "wx/msw/bullseye.cur"
  38. WXCURSOR_PENCIL CURSOR DISCARDABLE "wx/msw/pencil.cur"
  39. WXCURSOR_MAGNIFIER CURSOR DISCARDABLE "wx/msw/magnif1.cur"
  40. WXCURSOR_ROLLER CURSOR DISCARDABLE "wx/msw/roller.cur"
  41. WXCURSOR_PBRUSH CURSOR DISCARDABLE "wx/msw/pbrush.cur"
  42. WXCURSOR_PLEFT CURSOR DISCARDABLE "wx/msw/pntleft.cur"
  43. WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur"
  44. WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur"
  45. WXCURSOR_CROSS CURSOR DISCARDABLE "wx/msw/cross.cur"
  46. //////////////////////////////////////////////////////////////////////////////
  47. //
  48. // Default Icons
  49. //
  50. // First wx icon in alphabetical order, so it will be used by Explorer if the
  51. // application doesn't have any icons of its own
  52. wxICON_AAA ICON "wx/msw/std.ico"
  53. //wxDEFAULT_FRAME ICON "wx/msw/std.ico"
  54. //wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico"
  55. //wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico"
  56. // Standard small icons
  57. wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico"
  58. wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico"
  59. wxICON_SMALL_FILE ICON "wx/msw/file1.ico"
  60. wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico"
  61. wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico"
  62. wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico"
  63. wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico"
  64. wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico"
  65. //////////////////////////////////////////////////////////////////////////////
  66. //
  67. // Bitmaps
  68. //
  69. // For wxContextHelpButton
  70. csquery BITMAP "wx/msw/csquery.bmp"
  71. // For obtaining the RGB values of standard colours
  72. wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp"
  73. //////////////////////////////////////////////////////////////////////////////
  74. //
  75. // Include manifest file for common controls library v6 required to use themes.
  76. //
  77. // Predefining wxUSE_NO_MANIFEST as 1 always disables the use of the manifest.
  78. // Otherwise we include it only if wxUSE_RC_MANIFEST is defined as 1.
  79. //
  80. #if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)
  81. #if defined(wxUSE_RC_MANIFEST) && wxUSE_RC_MANIFEST
  82. // see "about isolated applications" topic in MSDN
  83. #ifdef ISOLATION_AWARE_ENABLED
  84. #define wxMANIFEST_ID 2
  85. #else
  86. #define wxMANIFEST_ID 1
  87. #endif
  88. #if defined(WX_CPU_AMD64)
  89. wxMANIFEST_ID 24 "wx/msw/amd64.manifest"
  90. #elif defined(WX_CPU_IA64)
  91. wxMANIFEST_ID 24 "wx/msw/ia64.manifest"
  92. #elif defined(WX_CPU_X86)
  93. wxMANIFEST_ID 24 "wx/msw/wx.manifest"
  94. #else
  95. // Notice that if the manifest is included, WX_CPU_XXX constant corresponding
  96. // to the architecture we're compiling for must be defined. This can be done
  97. // either manually in your make/project file or by configuring the resource
  98. // compiler paths to search in $(WXWIN)/lib/$(COMPILER_PREFIX)_lib/mswu[d]
  99. // directory for its include files, as wx/msw/rcdefs.h file in this directory
  100. // is generated during wxWidgets build and contains the correct definition.
  101. #error "One of WX_CPU_XXX constants must be defined. See comment above."
  102. #endif
  103. #endif // wxUSE_RC_MANIFEST
  104. #endif // !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0)