X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..9b73db3c34aefd98080b425459322fa821ae271f:/samples/config/conftest.cpp diff --git a/samples/config/conftest.cpp b/samples/config/conftest.cpp index b5ed3c607f..fe26c3b968 100644 --- a/samples/config/conftest.cpp +++ b/samples/config/conftest.cpp @@ -141,6 +141,12 @@ int MyApp::OnExit() MyFrame::MyFrame() : wxFrame((wxFrame *) NULL, -1, "wxConfig Demo") { + // submenu + wxMenu *sub_menu = new wxMenu( wxMENU_TEAROFF ); + sub_menu->Append(Minimal_About, "&About", "About this sample"); + sub_menu->Append(Minimal_About, "&About", "About this sample"); + sub_menu->Append(Minimal_About, "&About", "About this sample"); + // menu wxMenu *file_menu = new wxMenu;