]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/menu/menu.cpp
Always provide wxMenuItem bitmap-related methods in wxMSW.
[wxWidgets.git] / samples / menu / menu.cpp
index 3d65f8c4e45b3901f28ffd3ccff32bb692341c67..3c8f97df67b197f8d5f877beb4101d417b004b4f 100644 (file)
@@ -466,9 +466,7 @@ MyFrame::MyFrame()
 #if USE_LOG_WINDOW
     wxMenuItem *item = new wxMenuItem(fileMenu, Menu_File_ClearLog,
                                       wxT("Clear &log\tCtrl-L"));
-#if wxUSE_OWNER_DRAWN || defined(__WXGTK__)
     item->SetBitmap(copy_xpm);
-#endif
     fileMenu->Append(item);
     fileMenu->AppendSeparator();
 #endif // USE_LOG_WINDOW