]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/config/conftest.cpp
don't call wxYield() from EnsureVisible(), this is too dangerous - and unnecessary...
[wxWidgets.git] / samples / config / conftest.cpp
index 37b8c1f5439efa31e0d3b6999af5c9d27852352d..0dbc6cd1488b48512268922cb93601bb626be2db 100644 (file)
@@ -142,7 +142,7 @@ MyFrame::MyFrame()
        : wxFrame((wxFrame *) NULL, -1, "wxConfig Demo")
 {
   // submenu
-  wxMenu *sub_menu = new wxMenu( wxMENU_TEAROFF );
+  wxMenu *sub_menu = new wxMenu( wxEmptyString, 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");