mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Minor updates that make things work!
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@945 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -60,7 +60,9 @@ void IconMenu::Append(int id, const String& resource, const String& text, const
|
||||
item->SetBitmaps(bitmap, bitmap);
|
||||
item->SetDisabledBitmap(disabledImage);
|
||||
#else
|
||||
item->SetBitmap(bitmap);
|
||||
// Check items can't have bitmaps :(
|
||||
if (item->GetKind() == wxITEM_NORMAL)
|
||||
item->SetBitmap(bitmap);
|
||||
#endif
|
||||
// add menu
|
||||
wxMenu::Append(item);
|
||||
|
||||
Reference in New Issue
Block a user