#define USE_CONTEXT_MENU 1
#endif
-// this sample is usefull when new port is developed
-// and usually new port has majority of flags turned off
+// this sample is useful when a new port is developed
+// and usually a new port has majority of flags turned off
#if wxUSE_LOG && wxUSE_TEXTCTRL
#define USE_LOG_WINDOW 1
#else
frame->SetStatusText(wxT("Welcome to wxWidgets menu sample"));
#endif // wxUSE_STATUSBAR
- SetTopWindow(frame);
-
return true;
}
wxString title;
wxMenu *menu = CreateDummyMenu(&title);
// Insert before the 'Help' menu
- // Othewise repeated Deletes will remove the 'Test' menu
+ // Otherwise repeated Deletes will remove the 'Test' menu
GetMenuBar()->Insert(4, menu, title);
}