Added wxInfoBar::Dismiss().
Add a method to conveniently hide the info bar and update the parent layout. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -240,6 +240,11 @@ void wxInfoBarGeneric::ShowMessage(const wxString& msg, int flags)
|
||||
}
|
||||
}
|
||||
|
||||
void wxInfoBarGeneric::Dismiss()
|
||||
{
|
||||
DoHide();
|
||||
}
|
||||
|
||||
void wxInfoBarGeneric::AddButton(wxWindowID btnid, const wxString& label)
|
||||
{
|
||||
wxSizer * const sizer = GetSizer();
|
||||
|
||||
Reference in New Issue
Block a user