Allow access to the currently shown wxInfoBar buttons.
Add wxInfoBar::GetButtonCount(), GetButtonId() and HasButtonId() methods. Closes #15110. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,6 +46,11 @@ public:
|
||||
// remove a button previously added by AddButton()
|
||||
virtual void RemoveButton(wxWindowID btnid) = 0;
|
||||
|
||||
// get information about the currently shown buttons
|
||||
virtual size_t GetButtonCount() const = 0;
|
||||
virtual wxWindowID GetButtonId(size_t idx) const = 0;
|
||||
virtual bool HasButtonId(wxWindowID btnid) const = 0;
|
||||
|
||||
private:
|
||||
wxDECLARE_NO_COPY_CLASS(wxInfoBarBase);
|
||||
};
|
||||
|
Reference in New Issue
Block a user