]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/menu/menu.cpp
Fix broken and missing DataView interface items for Phoenix
[wxWidgets.git] / samples / menu / menu.cpp
index 6797e8d30a35cfabcc9655d5399d95b540fd3231..e3b11060a21b5b7ef0f4f9b0df1b6c44ad2983dc 100644 (file)
     #define USE_LOG_WINDOW 0
 #endif
 
-#if wxUSE_OWNER_DRAWN || defined(__WXGTK__)
 #include "copy.xpm"
-#endif
 
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -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