Use a regular ID for the menu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-02-23 20:22:14 +00:00
parent 97c2479c31
commit 643dcb7ab5

View File

@ -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"));