X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18f42b94df62068a19258b96ac7f569d4d3ba400..538f284a44001ff8285eaafebcc384bf638b5d66:/samples/menu/menu.cpp diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index a8ba08b034..4c3b8dc902 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -47,8 +47,8 @@ #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 @@ -708,7 +708,7 @@ void MyFrame::OnInsertMenu(wxCommandEvent& WXUNUSED(event)) 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); }