Added menu icon methods everywhere

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-08-12 17:44:11 +00:00
parent e118897acb
commit 04c883f8c9
4 changed files with 89 additions and 8 deletions

View File

@@ -269,8 +269,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
# Show how to put an icon in the menu
item = wxMenuItem(menu, tPopupID1,"One")
if wxPlatform == '__WXMSW__':
item.SetBitmap(images.getSmilesBitmap())
item.SetBitmap(images.getSmilesBitmap())
menu.AppendItem(item)
menu.Append(tPopupID2, "Two")