X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..e4097f77c440b1f31a80fe273cc732c14d606096:/interface/wx/infobar.h?ds=sidebyside diff --git a/interface/wx/infobar.h b/interface/wx/infobar.h index 322548f14b..24903d882d 100644 --- a/interface/wx/infobar.h +++ b/interface/wx/infobar.h @@ -2,7 +2,6 @@ // Name: wx/infobar.h // Purpose: interface of wxInfoBar // Author: Vadim Zeitlin -// RCS-ID: $Id$ // Copyright: (c) 2009 Vadim Zeitlin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -52,7 +51,7 @@ void MyFrame::SomeMethod() { - m_infoBar->ShowMessage("Something happend", wxICON_INFORMATION); + m_infoBar->ShowMessage("Something happened", wxICON_INFORMATION); } @endcode @@ -150,7 +149,7 @@ public: This method hides the window and lays out the parent window to account for its disappearance (unlike a simple Hide()). */ - void Dismiss(); + virtual void Dismiss(); /** Remove a button previously added by AddButton().