From: Robin Dunn Date: Mon, 23 Feb 2004 20:22:14 +0000 (+0000) Subject: Use a regular ID for the menu X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/643dcb7ab5433e23c6f6ae2f088b6b474487608b?ds=inline Use a regular ID for the menu git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/font/font.cpp b/samples/font/font.cpp index 5f35d6ab8f..047299d82a 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -144,6 +144,7 @@ enum Font_wxSMALL_FONT, Font_wxITALIC_FONT, Font_wxSWISS_FONT, + Font_Standard, Font_Choose = 100, Font_EnumFamiliesForEncoding, @@ -260,7 +261,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) menuStdFonts->Append(Font_wxSMALL_FONT, wxT("wxSMALL_FONT"), wxT("Small font used by wxWindows")); menuStdFonts->Append(Font_wxITALIC_FONT, wxT("wxITALIC_FONT"), wxT("Italic font used by wxWindows")); menuStdFonts->Append(Font_wxSWISS_FONT, wxT("wxSWISS_FONT"), wxT("Swiss font used by wxWindows")); - menuSelect->Append(-2, wxT("Standar&d fonts"), menuStdFonts); + menuSelect->Append(Font_Standard, wxT("Standar&d fonts"), menuStdFonts); menuSelect->AppendSeparator(); menuSelect->Append(Font_EnumFamilies, wxT("Enumerate font &families\tCtrl-F"));