- menuFont->Append(Font_EnumFamilies, "Enumerate font &families\tCtrl-F");
- menuFont->Append(Font_EnumFixedFamilies,
- "Enumerate f&ixed font families\tCtrl-I");
- menuFont->Append(Font_EnumEncodings,
- "Enumerate &encodings\tCtrl-E");
- menuFont->Append(Font_EnumFamiliesForEncoding,
- "Find font for en&coding...\tCtrl-C",
- "Find font families for given encoding");
+ menuFont->Append(Font_SetNativeDesc,
+ wxT("Set native font &description\tShift-Ctrl-D"));
+ menuFont->Append(Font_SetNativeUserDesc,
+ wxT("Set &user font description\tShift-Ctrl-U"));
+ menuFont->Append(Font_SetFaceName, wxT("Check font face name"));
+ menuFont->Append(Font_SetEncoding, wxT("Set font &encoding\tShift-Ctrl-E"));
+
+ wxMenu *menuSelect = new wxMenu;
+ menuSelect->Append(Font_Choose, wxT("&Select font...\tCtrl-S"),
+ wxT("Select a standard font"));
+
+ wxMenu *menuStdFonts = new wxMenu;
+ menuStdFonts->Append(Font_wxNORMAL_FONT, wxT("wxNORMAL_FONT"), wxT("Normal font used by wxWidgets"));
+ menuStdFonts->Append(Font_wxSMALL_FONT, wxT("wxSMALL_FONT"), wxT("Small font used by wxWidgets"));
+ menuStdFonts->Append(Font_wxITALIC_FONT, wxT("wxITALIC_FONT"), wxT("Italic font used by wxWidgets"));
+ menuStdFonts->Append(Font_wxSWISS_FONT, wxT("wxSWISS_FONT"), wxT("Swiss font used by wxWidgets"));
+ menuSelect->Append(Font_Standard, wxT("Standar&d fonts"), menuStdFonts);
+
+ menuSelect->AppendSeparator();
+ menuSelect->Append(Font_EnumFamilies, wxT("Enumerate font &families\tCtrl-F"));
+ menuSelect->Append(Font_EnumFixedFamilies,
+ wxT("Enumerate fi&xed font families\tCtrl-X"));
+ menuSelect->Append(Font_EnumEncodings,
+ wxT("Enumerate &encodings\tCtrl-E"));
+ menuSelect->Append(Font_EnumFamiliesForEncoding,
+ wxT("Find font for en&coding...\tCtrl-C"),
+ wxT("Find font families for given encoding"));