1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fdrepdlg.h
3 // Purpose: wxFindReplaceDialog class
4 // Author: Markus Greither
5 // Modified by: 31.07.01: VZ: integrated into wxWidgets
8 // Copyright: (c) Markus Greither
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSW_FDREPDLG_H_
13 #define _WX_MSW_FDREPDLG_H_
15 // ----------------------------------------------------------------------------
16 // wxFindReplaceDialog: dialog for searching / replacing text
17 // ----------------------------------------------------------------------------
19 class WXDLLEXPORT wxFindReplaceDialog
: public wxFindReplaceDialogBase
23 wxFindReplaceDialog() { Init(); }
24 wxFindReplaceDialog(wxWindow
*parent
,
25 wxFindReplaceData
*data
,
26 const wxString
&title
,
29 bool Create(wxWindow
*parent
,
30 wxFindReplaceData
*data
,
31 const wxString
&title
,
34 virtual ~wxFindReplaceDialog();
36 // implementation only from now on
38 wxFindReplaceDialogImpl
*GetImpl() const { return m_impl
; }
40 // override some base class virtuals
41 virtual bool Show(bool show
= true);
42 virtual void SetTitle( const wxString
& title
);
43 virtual wxString
GetTitle() const;
46 virtual void DoGetSize(int *width
, int *height
) const;
47 virtual void DoGetClientSize(int *width
, int *height
) const;
48 virtual void DoSetSize(int x
, int y
,
49 int width
, int height
,
50 int sizeFlags
= wxSIZE_AUTO
);
56 wxFindReplaceDialogImpl
*m_impl
;
58 DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog
)
59 DECLARE_NO_COPY_CLASS(wxFindReplaceDialog
)
62 #endif // _WX_MSW_FDREPDLG_H_