Remove __APPLE__ around SetBitmap() in AppendBitmapMenuItem, this gives us pretty icons in our menus on osx.

Originally committed to SVN as r3495.
This commit is contained in:
Amar Takhar 2009-09-06 00:41:38 +00:00
parent ba87160fdc
commit a5730828d3
1 changed files with 0 additions and 2 deletions

View File

@ -222,9 +222,7 @@ wxString PrettySize(int bytes) {
wxMenuItem* AppendBitmapMenuItem (wxMenu* parentMenu,int id,wxString text,wxString help,wxBitmap bmp,int pos) {
wxMenuItem *cur = new wxMenuItem(parentMenu,id,text,help);
// Mac software does not use icons in menus so we shouldn't either
#ifndef __APPLE__
cur->SetBitmap(bmp);
#endif
if (pos == -1) parentMenu->Append(cur);
else parentMenu->Insert(pos,cur);
return cur;