X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3996b21a7f11ae6c1985b5ee55223ddec537f689..db414879d45f5da2be534a0f523b0506f2ab1183:/interface/wx/infobar.h diff --git a/interface/wx/infobar.h b/interface/wx/infobar.h index 76694ae057..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 @@ -64,7 +64,7 @@ native implementation requires a recent -- as of this writing -- GTK+ 2.18 version. - @library{wxadv} + @library{wxcore} @category{miscwnd} @see wxStatusBar, wxMessageDialog @@ -107,7 +107,7 @@ public: The id of the info bar window, usually unused as currently no events are generated by this class. */ - wxInfoBar(wxWindow *parent, wxWindowID winid = wxID_ANY); + bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY); /** Add a button to be shown in the info bar. @@ -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().