- menuFont->Append(Font_EnumFamilies, "Enumerate font &families\tCtrl-F");
- menuFont->Append(Font_EnumFixedFamilies,
- "Enumerate f&ixed font families\tCtrl-I");
- menuFont->Append(Font_EnumEncodings,
+ menuFont->Append(Font_Bold, "&Bold\tCtrl-B", "Toggle bold state", TRUE);
+ menuFont->Append(Font_Italic, "&Oblique\tCtrl-O", "Toggle italic state", TRUE);
+ menuFont->Append(Font_Underlined, "&Underlined\tCtrl-U",
+ "Toggle underlined state", TRUE);
+
+ menuFont->AppendSeparator();
+ menuFont->Append(Font_CheckNativeToFromString,
+ "Check Native Font Info To/From String");
+
+ wxMenu *menuSelect = new wxMenu;
+ menuSelect->Append(Font_Choose, "&Select font...\tCtrl-S",
+ "Select a standard font");
+
+ wxMenu *menuStdFonts = new wxMenu;
+ menuStdFonts->Append(Font_wxNORMAL_FONT, "wxNORMAL_FONT", "Normal font used by wxWindows");
+ menuStdFonts->Append(Font_wxSMALL_FONT, "wxSMALL_FONT", "Small font used by wxWindows");
+ menuStdFonts->Append(Font_wxITALIC_FONT, "wxITALIC_FONT", "Italic font used by wxWindows");
+ menuStdFonts->Append(Font_wxSWISS_FONT, "wxSWISS_FONT", "Swiss font used by wxWindows");
+ menuSelect->Append(-2, "Standar&d fonts", menuStdFonts);
+
+ menuSelect->AppendSeparator();
+ menuSelect->Append(Font_EnumFamilies, "Enumerate font &families\tCtrl-F");
+ menuSelect->Append(Font_EnumFixedFamilies,
+ "Enumerate fi&xed font families\tCtrl-X");
+ menuSelect->Append(Font_EnumEncodings,