From: Chris Elliott Date: Sun, 1 Mar 2009 15:03:02 +0000 (+0000) Subject: avoid error of menu with zero ID X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2140f27355ebb6bc13d4fa1855689d181ca60aa1 avoid error of menu with zero ID git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/mdi/mdi.h b/samples/mdi/mdi.h index 44a48f752e..82a5330c37 100644 --- a/samples/mdi/mdi.h +++ b/samples/mdi/mdi.h @@ -100,7 +100,7 @@ private: // menu items ids enum { - MDI_FULLSCREEN, + MDI_FULLSCREEN = 100, MDI_REFRESH, MDI_CHANGE_TITLE, MDI_CHANGE_POSITION,