Generate the button clicks in GTK version of wxInfoBar.

Also add an example of handling info bar buttons events to the sample and
mention that this must be done using Connect() or by deriving from wxInfoBar
in the documentation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-10-05 22:55:32 +00:00
parent cc7033c2f5
commit c0945eb234
4 changed files with 43 additions and 8 deletions

View File

@@ -429,6 +429,8 @@ private:
wxWindow *m_canvas;
#if wxUSE_INFOBAR
void OnInfoBarRedo(wxCommandEvent& event);
wxInfoBar *m_infoBarSimple,
*m_infoBarAdvanced;
#endif // wxUSE_INFOBAR