]> git.saurik.com Git - wxWidgets.git/commitdiff
don't start menu IDs at 0 to avoid an assert under Mac
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jun 2009 14:54:09 +0000 (14:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jun 2009 14:54:09 +0000 (14:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/collpane/collpane.cpp

index 443ed90f72a9428b00ecc3ecb1c0cf68278b57b3..86ab0252ed36c08822a345efebd90a6d663657e8 100644 (file)
@@ -55,7 +55,7 @@
 // ID for the menu commands
 enum
 {
 // ID for the menu commands
 enum
 {
-    PANE_COLLAPSE,
+    PANE_COLLAPSE = 100,
     PANE_EXPAND,
     PANE_SETLABEL,
     PANE_SHOWDLG,
     PANE_EXPAND,
     PANE_SETLABEL,
     PANE_SHOWDLG,