forked from mia/Aegisub
Don't set icons for check and radio menu items as checked icons aren't supported yet
Originally committed to SVN as r5807.
This commit is contained in:
parent
6a31f840a6
commit
2cbe7455bb
1 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,8 @@ public:
|
||||||
wxMenuItem *item = new wxMenuItem(parent, MENU_ID_BASE + items.size(), menu_text, co->StrHelp(), kind);
|
wxMenuItem *item = new wxMenuItem(parent, MENU_ID_BASE + items.size(), menu_text, co->StrHelp(), kind);
|
||||||
#ifndef __WXMAC__
|
#ifndef __WXMAC__
|
||||||
/// @todo Maybe make this a configuration option instead?
|
/// @todo Maybe make this a configuration option instead?
|
||||||
item->SetBitmap(co->Icon(16));
|
if (kind == wxITEM_NORMAL)
|
||||||
|
item->SetBitmap(co->Icon(16));
|
||||||
#endif
|
#endif
|
||||||
parent->Append(item);
|
parent->Append(item);
|
||||||
items.push_back(co);
|
items.push_back(co);
|
||||||
|
|
Loading…
Reference in a new issue