]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/fdrepdlg.h
more extra semicolons removed (patch 1303724)
[wxWidgets.git] / include / wx / msw / fdrepdlg.h
CommitLineData
8db37e06
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/fdrepdlg.h
3// Purpose: wxFindReplaceDialog class
4// Author: Markus Greither
77ffb593 5// Modified by: 31.07.01: VZ: integrated into wxWidgets
8db37e06
VZ
6// Created: 23/03/2001
7// RCS-ID:
8// Copyright: (c) Markus Greither
65571936 9// Licence: wxWindows licence
8db37e06
VZ
10/////////////////////////////////////////////////////////////////////////////
11
8db37e06
VZ
12// ----------------------------------------------------------------------------
13// wxFindReplaceDialog: dialog for searching / replacing text
14// ----------------------------------------------------------------------------
15
16class WXDLLEXPORT wxFindReplaceDialog : public wxFindReplaceDialogBase
17{
18public:
19 // ctors and such
20 wxFindReplaceDialog() { Init(); }
21 wxFindReplaceDialog(wxWindow *parent,
22 wxFindReplaceData *data,
23 const wxString &title,
24 int style = 0);
25
26 bool Create(wxWindow *parent,
27 wxFindReplaceData *data,
28 const wxString &title,
29 int style = 0);
30
31 virtual ~wxFindReplaceDialog();
32
33 // implementation only from now on
34
35 wxFindReplaceDialogImpl *GetImpl() const { return m_impl; }
36
37 // override some base class virtuals
cbe874bd 38 virtual bool Show(bool show = true);
8db37e06
VZ
39 virtual void SetTitle( const wxString& title);
40 virtual wxString GetTitle() const;
41
42protected:
43 virtual void DoGetSize(int *width, int *height) const;
44 virtual void DoGetClientSize(int *width, int *height) const;
45 virtual void DoSetSize(int x, int y,
46 int width, int height,
47 int sizeFlags = wxSIZE_AUTO);
48
49 void Init();
50
51 wxString m_title;
52
53 wxFindReplaceDialogImpl *m_impl;
54
55 DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog)
22f3361e 56 DECLARE_NO_COPY_CLASS(wxFindReplaceDialog)
8db37e06
VZ
57};
58
59