X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f6c9085a50548c48d49874ff64c4928ba053c0c..97d13342cc2ac77e21c38115cc6ebecac930f92a:/interface/wx/menuitem.h diff --git a/interface/wx/menuitem.h b/interface/wx/menuitem.h index 8566896a96..324dbdc0d2 100644 --- a/interface/wx/menuitem.h +++ b/interface/wx/menuitem.h @@ -274,11 +274,14 @@ public: /** Sets the bitmap for the menu item. - It is equivalent to wxMenuItem::SetBitmaps(bmp, wxNullBitmap). + + It is equivalent to wxMenuItem::SetBitmaps(bmp, wxNullBitmap) if @a + checked is @true (default value) or SetBitmaps(wxNullBitmap, bmp) + otherwise. @onlyfor{wxmsw,wxosx,wxgtk} */ - virtual void SetBitmap(const wxBitmap& bmp); + virtual void SetBitmap(const wxBitmap& bmp, bool checked = true); /** Sets the checked/unchecked bitmaps for the menu item.