1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fdrepdlg.h
3 // Purpose: wxFindReplaceDialog class
4 // Author: Markus Greither
5 // Modified by: 31.07.01: VZ: integrated into wxWindows
8 // Copyright: (c) Markus Greither
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma interface "mswfdrepdlg.h"
16 // ----------------------------------------------------------------------------
17 // wxFindReplaceDialog: dialog for searching / replacing text
18 // ----------------------------------------------------------------------------
20 class WXDLLEXPORT wxFindReplaceDialog
: public wxFindReplaceDialogBase
24 wxFindReplaceDialog() { Init(); }
25 wxFindReplaceDialog(wxWindow
*parent
,
26 wxFindReplaceData
*data
,
27 const wxString
&title
,
30 bool Create(wxWindow
*parent
,
31 wxFindReplaceData
*data
,
32 const wxString
&title
,
35 virtual ~wxFindReplaceDialog();
37 // implementation only from now on
39 wxFindReplaceDialogImpl
*GetImpl() const { return m_impl
; }
41 // override some base class virtuals
42 virtual bool Show(bool show
= TRUE
);
43 virtual void SetTitle( const wxString
& title
);
44 virtual wxString
GetTitle() const;
47 virtual void DoGetSize(int *width
, int *height
) const;
48 virtual void DoGetClientSize(int *width
, int *height
) const;
49 virtual void DoSetSize(int x
, int y
,
50 int width
, int height
,
51 int sizeFlags
= wxSIZE_AUTO
);
57 wxFindReplaceDialogImpl
*m_impl
;
59 DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog
)
60 DECLARE_NO_COPY_CLASS(wxFindReplaceDialog
)