From 3c4e29e0da42fe05d9ffe592c887136effb68b3a Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Tue, 14 Jun 2016 03:36:53 +0200 Subject: [PATCH] Fix accidental changes made to menu sample Only German translations were supposed to be updated according to 8437c6a4436948110b572f20c5926c6d728b9082 but it also made test changes to samples/menu/menu.cpp, revert those. --- samples/menu/menu.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 6882e68291..1b382f658b 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -531,11 +531,8 @@ MyFrame::MyFrame() fileMenu->AppendSubMenu(stockSubMenu, wxT("&Standard items demo")); #if USE_LOG_WINDOW - wxMenu* sub = new wxMenu; - sub->Append(wxID_OPEN); wxMenuItem *item = new wxMenuItem(fileMenu, Menu_File_ClearLog, - wxT("Clear &log\tCtrl-L"), - "", wxITEM_NORMAL, sub); + wxT("Clear &log\tCtrl-L")); item->SetBitmap(copy_xpm); fileMenu->Append(item); fileMenu->AppendSeparator();