Add Get/SetDisabledBitmap methods for msw

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2014-05-20 03:16:51 +00:00
parent 19a0dcc4ca
commit 8b0f7cb979

View File

@@ -163,7 +163,14 @@ public:
@onlyfor{wxmsw} @onlyfor{wxmsw}
*/ */
virtual const wxBitmap& GetBitmap() const; virtual const wxBitmap& GetBitmap(bool checked = true) const;
/**
Returns the bitmap to be used for disabled items.
@onlyfor{wxmsw}
*/
virtual const wxBitmap& GetDisabledBitmap() const;
/** /**
Returns the font associated with the menu item. Returns the font associated with the menu item.
@@ -369,6 +376,14 @@ public:
void SetBitmaps(const wxBitmap& checked, void SetBitmaps(const wxBitmap& checked,
const wxBitmap& unchecked = wxNullBitmap); const wxBitmap& unchecked = wxNullBitmap);
/**
Sets the to be used for disabled menu items.
@onlyfor{wxmsw}
*/
void SetDisabledBitmap(const wxBitmap& disabled);
/** /**
Sets the font associated with the menu item. Sets the font associated with the menu item.