]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/config/conftest.cpp
1. fixed Maximise() mismatch between wxFrame and wxMDIFrame
[wxWidgets.git] / samples / config / conftest.cpp
index b5ed3c607ffa250ec5c6eef5dadc20ef448543b5..fe26c3b968a200a14721c7c9ec8538d4a393d9e1 100644 (file)
@@ -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;