wxBitmapBundle for wxMenuItem on MSW

This commit is contained in:
Alexander Koshelev
2022-01-28 16:28:18 +03:00
parent e5e9794607
commit 27be2ed641
6 changed files with 130 additions and 42 deletions

View File

@@ -559,7 +559,7 @@ MyFrame::MyFrame()
#if USE_LOG_WINDOW
wxMenuItem *item = new wxMenuItem(fileMenu, Menu_File_ClearLog,
"Clear &log\tCtrl-L");
item->SetBitmap(copy_xpm);
item->SetBitmap(wxBitmap(copy_xpm));
fileMenu->Append(item);
fileMenu->AppendSeparator();
#endif // USE_LOG_WINDOW