+ menuFont->Append(Font_SetFamily, wxT("Set font family"));
+ menuFont->Append(Font_SetFaceName, wxT("Set 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);
+
+ wxMenu *menuSettingFonts = new wxMenu;
+ menuSettingFonts->Append(Font_wxSYS_OEM_FIXED_FONT, wxT("wxSYS_OEM_FIXED_FONT"),
+ wxT("Original equipment manufacturer dependent fixed-pitch font."));
+ menuSettingFonts->Append(Font_wxSYS_ANSI_FIXED_FONT, wxT("wxSYS_ANSI_FIXED_FONT"),
+ wxT("Windows fixed-pitch (monospaced) font. "));
+ menuSettingFonts->Append(Font_wxSYS_ANSI_VAR_FONT, wxT("wxSYS_ANSI_VAR_FONT"),
+ wxT("Windows variable-pitch (proportional) font."));
+ menuSettingFonts->Append(Font_wxSYS_SYSTEM_FONT, wxT("wxSYS_SYSTEM_FONT"),
+ wxT("System font."));
+ menuSettingFonts->Append(Font_wxSYS_DEVICE_DEFAULT_FONT, wxT("wxSYS_DEVICE_DEFAULT_FONT"),
+ wxT("Device-dependent font."));
+ menuSettingFonts->Append(Font_wxSYS_DEFAULT_GUI_FONT, wxT("wxSYS_DEFAULT_GUI_FONT"),
+ wxT("Default font for user interface objects such as menus and dialog boxes. "));
+ menuSelect->Append(Font_SystemSettings, wxT("System fonts"), menuSettingFonts);
+
+
+ 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"));