mirror of https://github.com/odrling/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
|
@ -184,7 +184,8 @@ public:
|
|||
wxMenuItem *item = new wxMenuItem(parent, MENU_ID_BASE + items.size(), menu_text, co->StrHelp(), kind);
|
||||
#ifndef __WXMAC__
|
||||
/// @todo Maybe make this a configuration option instead?
|
||||
item->SetBitmap(co->Icon(16));
|
||||
if (kind == wxITEM_NORMAL)
|
||||
item->SetBitmap(co->Icon(16));
|
||||
#endif
|
||||
parent->Append(item);
|
||||
items.push_back(co);
|
||||
|
|
Loading…
Reference in New Issue