]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove test code accidentally committed as part of r66015.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Nov 2010 12:53:44 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Nov 2010 12:53:44 +0000 (12:53 +0000)
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

samples/menu/menu.cpp

index 48bd9e9de4c4a678f9c91aed325e8f48e4589646..7fd3a3292afc73a7f9daf1ad680ae47744a5eba0 100644 (file)
@@ -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