]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/menu/menu.cpp
Make a couple virtuals protected so they can be overridden.
[wxWidgets.git] / samples / menu / menu.cpp
index 3d65f8c4e45b3901f28ffd3ccff32bb692341c67..e3b11060a21b5b7ef0f4f9b0df1b6c44ad2983dc 100644 (file)
@@ -55,9 +55,7 @@
     #define USE_LOG_WINDOW 0
 #endif
 
-#if wxUSE_OWNER_DRAWN || defined(__WXGTK__)
 #include "copy.xpm"
-#endif
 
 #ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
@@ -466,9 +464,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