X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3406ebd4eaed9212783ce9db40049d25a12ad5e6..7880889720de18a19e58653cb3b07da99053e7db:/samples/dialogs/dialogs.h diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index fe0b0638a9..fc11ed657a 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -303,6 +303,11 @@ public: void LogDialog(wxCommandEvent& event); #endif // wxUSE_LOG_DIALOG +#if wxUSE_INFOBAR + void InfoBarSimple(wxCommandEvent& event); + void InfoBarAdvanced(wxCommandEvent& event); +#endif // wxUSE_INFOBAR + #if wxUSE_CHOICEDLG void SingleChoice(wxCommandEvent& event); void MultiChoice(wxCommandEvent& event); @@ -423,6 +428,13 @@ private: // just a window which we use to show the effect of font/colours selection wxWindow *m_canvas; +#if wxUSE_INFOBAR + void OnInfoBarRedo(wxCommandEvent& event); + + wxInfoBar *m_infoBarSimple, + *m_infoBarAdvanced; +#endif // wxUSE_INFOBAR + DECLARE_EVENT_TABLE() }; @@ -472,6 +484,8 @@ enum DIALOGS_TIP, DIALOGS_NUM_ENTRY, DIALOGS_LOG_DIALOG, + DIALOGS_INFOBAR_SIMPLE, + DIALOGS_INFOBAR_ADVANCED, DIALOGS_MODAL, DIALOGS_MODELESS, DIALOGS_CENTRE_SCREEN,