]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/rc/menu.xrc
fixes potential crash under gatekeeper
[wxWidgets.git] / samples / xrc / rc / menu.xrc
index bc8ecc0e89285587f185783e14b52c115664ab54..de48e52c7ed4b8f2ea1772d5f78edffed78c8def 100644 (file)
@@ -15,7 +15,9 @@
             <label>_Reload resource\tCtrl-R</label>
             <help>Reload basic dialog resource</help>
         </object>
             <label>_Reload resource\tCtrl-R</label>
             <help>Reload basic dialog resource</help>
         </object>
-        <object class="wxMenuItem" name="exit_tool_or_menuitem">
+
+        <!-- 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>
             <label>E_xit\tAlt-X</label>
             <help>Exit this application</help>
         </object>
     <object class="wxMenu" name="advanced_demos_menu">
         <label>_Advanced</label>
         <help>Advanced techniques with XRC</help>
     <object class="wxMenu" name="advanced_demos_menu">
         <label>_Advanced</label>
         <help>Advanced techniques with XRC</help>
+         <object class="wxMenuItem" name="obj_ref_tool_or_menuitem">
+            <label>_Object References Example</label>
+            <bitmap>objrefdlg.xpm</bitmap>
+            <help>Use of object references and event ranges</help>
+        </object>
          <object class="wxMenuItem" name="custom_class_tool_or_menuitem">
             <label>_Custom Class Example</label>
             <bitmap>custclas.xpm</bitmap>
          <object class="wxMenuItem" name="custom_class_tool_or_menuitem">
             <label>_Custom Class Example</label>
             <bitmap>custclas.xpm</bitmap>
             <bitmap>variable.xpm</bitmap>
             <help>Replace variables in the XRC file at runtime</help>
         </object>        
             <bitmap>variable.xpm</bitmap>
             <help>Replace variables in the XRC file at runtime</help>
         </object>        
+        <object class="wxMenuItem" name="recursive_load">
+            <label>_Recursive Load</label>
+            <help>Show how an individual control can be loaded</help>
+        </object>
     </object>    
     <object class="wxMenu" name="help_menu">
         <label>_Help</label>
     </object>    
     <object class="wxMenu" name="help_menu">
         <label>_Help</label>
-        <object class="wxMenuItem" name="about_tool_or_menuitem">
-            <label>_About...</label>
+
+        <!-- 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>
     </object>
             <help>About this application</help>
         </object>
     </object>