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
7 // Copyright: (c) Markus Greither
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_MSW_FDREPDLG_H_
12 #define _WX_MSW_FDREPDLG_H_
14 // ----------------------------------------------------------------------------
15 // wxFindReplaceDialog: dialog for searching / replacing text
16 // ----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxFindReplaceDialog
: public wxFindReplaceDialogBase
22 wxFindReplaceDialog() { Init(); }
23 wxFindReplaceDialog(wxWindow
*parent
,
24 wxFindReplaceData
*data
,
25 const wxString
&title
,
28 bool Create(wxWindow
*parent
,
29 wxFindReplaceData
*data
,
30 const wxString
&title
,
33 virtual ~wxFindReplaceDialog();
35 // implementation only from now on
37 wxFindReplaceDialogImpl
*GetImpl() const { return m_impl
; }
39 // override some base class virtuals
40 virtual bool Show(bool show
= true);
41 virtual void SetTitle( const wxString
& title
);
42 virtual wxString
GetTitle() const;
45 virtual void DoGetSize(int *width
, int *height
) const;
46 virtual void DoGetClientSize(int *width
, int *height
) const;
47 virtual void DoSetSize(int x
, int y
,
48 int width
, int height
,
49 int sizeFlags
= wxSIZE_AUTO
);
55 wxFindReplaceDialogImpl
*m_impl
;
57 DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog
)
58 wxDECLARE_NO_COPY_CLASS(wxFindReplaceDialog
);
61 #endif // _WX_MSW_FDREPDLG_H_