X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2012fa63905c4b1e2a144a56e48097a46e3f3e1..7e3ea54f47679cb9ecd0f635b7abf32c87c40c09:/samples/menu/menu.cpp?ds=sidebyside diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 6797e8d30a..e3b11060a2 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -55,11 +55,9 @@ #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