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:
@@ -47,6 +47,10 @@ public:
|
||||
|
||||
virtual void RemoveButton(wxWindowID btnid) wxOVERRIDE;
|
||||
|
||||
virtual size_t GetButtonCount() const wxOVERRIDE;
|
||||
virtual wxWindowID GetButtonId(size_t idx) const wxOVERRIDE;
|
||||
virtual bool HasButtonId(wxWindowID btnid) const wxOVERRIDE;
|
||||
|
||||
// implementation only
|
||||
// -------------------
|
||||
|
||||
|
Reference in New Issue
Block a user