X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a62b0bcc145d4072829ebce1f699c5704664bf3b..4b912ef220f5509b4d6a09a38c9e7839b5f11a6b:/samples/dialogs/dialogs.h diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index 5c3396b96b..88b81497bb 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -100,6 +100,9 @@ private: #if wxUSE_FINDREPLDLG wxFindReplaceData m_findData; + + wxFindReplaceDialog *m_dlgFind, + *m_dlgReplace; #endif // wxUSE_FINDREPLDLG DECLARE_EVENT_TABLE() @@ -108,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);