X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/742df99230329b2c072c2adcc27fd3cc541d2833..db414879d45f5da2be534a0f523b0506f2ab1183:/interface/wx/infobar.h?ds=sidebyside diff --git a/interface/wx/infobar.h b/interface/wx/infobar.h index e1c18a0ca7..e87fc7720c 100644 --- a/interface/wx/infobar.h +++ b/interface/wx/infobar.h @@ -4,7 +4,7 @@ // Author: Vadim Zeitlin // RCS-ID: $Id$ // Copyright: (c) 2009 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -52,7 +52,7 @@ void MyFrame::SomeMethod() { - m_infoBar->ShowMessage("Something happend", wxICON_INFORMATION); + m_infoBar->ShowMessage("Something happened", wxICON_INFORMATION); } @endcode @@ -150,7 +150,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().