]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/rc/menu.xrc
wxToolBar XRC handler should call SetupWindow() to handle standard window properties too
[wxWidgets.git] / samples / xrc / rc / menu.xrc
index 1257cc72a069391768ec433c7ed8fa08616c2f19..91409e5c21537d9394d45102f8b6cfb091b04d5f 100644 (file)
@@ -7,7 +7,17 @@
     <object class="wxMenu" name="file_tool_or_menuitem">
         <label>_File</label>
         <style>wxMENU_TEAROFF</style>
-        <object class="wxMenuItem" name="exit_tool_or_menuitem">
+        <object class="wxMenuItem" name="unload_resource_menuitem">
+            <label>_Unload resource\tCtrl-U</label>
+            <help>Unload basic dialog resource</help>
+        </object>
+        <object class="wxMenuItem" name="reload_resource_menuitem">
+            <label>_Reload resource\tCtrl-R</label>
+            <help>Reload basic dialog resource</help>
+        </object>
+
+        <!-- we use wxID_EXIT name here to get the default menu item stock icon -->
+        <object class="wxMenuItem" name="wxID_EXIT">
             <label>E_xit\tAlt-X</label>
             <help>Exit this application</help>
         </object>
@@ -62,7 +72,9 @@
     </object>    
     <object class="wxMenu" name="help_menu">
         <label>_Help</label>
-        <object class="wxMenuItem" name="about_tool_or_menuitem">
+
+        <!-- we use wxID_ABOUT name here to get the default menu item stock icon -->
+        <object class="wxMenuItem" name="wxID_ABOUT">
             <label>_About...</label>
             <help>About this application</help>
         </object>