Any reason why we #if the menuitem bitmap code in the menu sample? For now just adding wxGTK in addition to

wxUSE_OWNER_DRAWN case, for the cases where bitmaps are to be set...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2005-11-15 22:40:32 +00:00
parent f784a2a96b
commit 6716099174

View 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);