X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..7a5e53abb3f9ea13eba2880972306446e4e21e83:/include/wx/univ/menuitem.h?ds=sidebyside diff --git a/include/wx/univ/menuitem.h b/include/wx/univ/menuitem.h index 9f8e533067..c0554556a0 100644 --- a/include/wx/univ/menuitem.h +++ b/include/wx/univ/menuitem.h @@ -48,6 +48,11 @@ public: const wxBitmap& GetBitmap(bool checked = TRUE) const { return checked ? m_bmpChecked : m_bmpUnchecked; } + void SetDisabledBitmap( const wxBitmap& bmpDisabled ) + { m_bmpDisabled = bmpDisabled; } + const wxBitmap& GetDisabledBitmap() const + { return m_bmpDisabled; } + // mark item as belonging to the given radio group void SetAsRadioGroupStart(); void SetRadioGroupStart(int start); @@ -92,7 +97,8 @@ protected: // the bitmaps (may be invalid, then they're not used) wxBitmap m_bmpChecked, - m_bmpUnchecked; + m_bmpUnchecked, + m_bmpDisabled; // the positions of the first and last items of the radio group this item // belongs to or -1: start is the radio group start and is valid for all