From 934e1edaf410cdfa23cd91c11397339042314fc4 Mon Sep 17 00:00:00 2001 From: Harco de Hilster Date: Tue, 20 Jul 1999 20:35:30 +0000 Subject: [PATCH] little wxMenu ctor fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/controls/controls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index b771b00a5e..f822d0e74d 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -164,7 +164,7 @@ bool MyApp::OnInit() frame->SetIcon( wxICON(mondrian) ); - wxMenu *file_menu = new wxMenu( wxMENU_TEAROFF ); + wxMenu *file_menu = new wxMenu("", wxMENU_TEAROFF ); file_menu->Append(MINIMAL_ABOUT, "&About\tF1"); file_menu->Append(MINIMAL_QUIT, "E&xit\tAlt-X", "Quit controls sample"); -- 2.45.2