X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3051a44a73502c2b03d1618d0a8e94274ee67e16..b46eeeae7edb49c1e9cb5b1e41831bab25aff6dc:/interface/wx/menuitem.h diff --git a/interface/wx/menuitem.h b/interface/wx/menuitem.h index 8d5553c92e..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). - @onlyfor{wxmsw,wxmac,wxgtk} + 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.