]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/menu/menu.cpp
image.tex: s/set.to/set to
[wxWidgets.git] / samples / menu / menu.cpp
index 5d1c12e335b3ac80559481eeb3a00c49734ba74c..d1e20a7c324cdd306088bb84ba231c770f4d4eba 100644 (file)
@@ -55,7 +55,7 @@
     #define USE_LOG_WINDOW 0
 #endif
 
-#if wxUSE_OWNER_DRAWN
+#if wxUSE_OWNER_DRAWN || defined(__WXGTK__)
 #include "copy.xpm"
 #endif
 
@@ -381,7 +381,7 @@ MyFrame::MyFrame()
 #if USE_LOG_WINDOW
     wxMenuItem *item = new wxMenuItem(fileMenu, Menu_File_ClearLog,
                                       _T("Clear &log\tCtrl-L"));
-#if wxUSE_OWNER_DRAWN
+#if wxUSE_OWNER_DRAWN || defined(__WXGTK__)
     item->SetBitmap(copy_xpm);
 #endif
     fileMenu->Append(item);