X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d987909a83e885eca7bd281c912dfb522a0e074..df055cbbdc988141dc9687c98eb3889f332d03c0:/samples/dialogs/dialogs.h diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index ccd0c20183..88b81497bb 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -78,6 +78,9 @@ public: #if wxUSE_PROGRESSDLG void ShowProgress(wxCommandEvent& event); #endif // wxUSE_PROGRESSDLG +#if wxUSE_BUSYINFO + void ShowBusyInfo(wxCommandEvent& event); +#endif // wxUSE_BUSYINFO #if wxUSE_FINDREPLDLG void ShowFindDialog(wxCommandEvent& event); void ShowReplaceDialog(wxCommandEvent& event); @@ -97,6 +100,9 @@ private: #if wxUSE_FINDREPLDLG wxFindReplaceData m_findData; + + wxFindReplaceDialog *m_dlgFind, + *m_dlgReplace; #endif // wxUSE_FINDREPLDLG DECLARE_EVENT_TABLE() @@ -105,7 +111,8 @@ private: class MyCanvas: public wxScrolledWindow { public: - MyCanvas(wxWindow *parent) : wxScrolledWindow(parent) { } + MyCanvas(wxWindow *parent) : + wxScrolledWindow(parent,-1,wxDefaultPosition,wxDefaultSize,wxNO_FULL_REPAINT_ON_RESIZE) { } void OnPaint(wxPaintEvent& event); @@ -138,6 +145,7 @@ enum DIALOGS_MODELESS, DIALOGS_MODELESS_BTN, DIALOGS_PROGRESS, + DIALOGS_BUSYINFO, DIALOGS_FIND, DIALOGS_REPLACE };