Add Get/SetDisabledBitmap methods for msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ec5214c631
commit
283636bf22
@ -163,8 +163,15 @@ public:
|
||||
|
||||
@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.
|
||||
|
||||
@ -369,6 +376,14 @@ public:
|
||||
void SetBitmaps(const wxBitmap& checked,
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user