]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/infobar.h
Remove wrong const from wxMenu::GetMenuItems() documentation.
[wxWidgets.git] / interface / wx / infobar.h
index 322548f14b3988b403f5b37ae2e03dcc3ff987b9..e87fc7720caaba39b07f3bfe8ec42fda7b28b58d 100644 (file)
@@ -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().