Added wxInfoBar::AddButton().
Allow adding custom buttons to wxInfoBar and show this in the sample. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,6 +35,10 @@ public:
|
||||
// show the info bar with the given message and optionally an icon
|
||||
virtual void ShowMessage(const wxString& msg, int flags = wxICON_NONE) = 0;
|
||||
|
||||
// add an extra button to the bar, near the message
|
||||
virtual void AddButton(wxWindowID btnid,
|
||||
const wxString& label = wxString()) = 0;
|
||||
|
||||
private:
|
||||
wxDECLARE_NO_COPY_CLASS(wxInfoBarBase);
|
||||
};
|
||||
|
Reference in New Issue
Block a user