]> git.saurik.com Git - wxWidgets.git/commitdiff
use std menu ids for stock items
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Nov 2006 00:20:12 +0000 (00:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Nov 2006 00:20:12 +0000 (00:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/xrc/rc/menu.xrc

index bc8ecc0e89285587f185783e14b52c115664ab54..91409e5c21537d9394d45102f8b6cfb091b04d5f 100644 (file)
@@ -15,7 +15,9 @@
             <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>
@@ -70,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>