From: Vadim Zeitlin Date: Fri, 5 Nov 2010 12:53:44 +0000 (+0000) Subject: Remove test code accidentally committed as part of r66015. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4ded4e191095ee29bae2c5f945f47128e0a6ae63 Remove test code accidentally committed as part of r66015. Don't call wxMenuItem::Set{Background,Text}Colour() in the menu sample, this was for testing only. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 48bd9e9de4..7fd3a3292a 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -465,8 +465,6 @@ MyFrame::MyFrame() #if USE_LOG_WINDOW wxMenuItem *item = new wxMenuItem(fileMenu, Menu_File_ClearLog, wxT("Clear &log\tCtrl-L")); - item->SetBackgroundColour(*wxBLACK); - item->SetTextColour(*wxRED); #if wxUSE_OWNER_DRAWN || defined(__WXGTK__) item->SetBitmap(copy_xpm); #endif