]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/fdrepdlg.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[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 6// Created: 23/03/2001
8db37e06 7// Copyright: (c) Markus Greither
65571936 8// Licence: wxWindows licence
8db37e06
VZ
9/////////////////////////////////////////////////////////////////////////////
10
20ceebaa
MW
11#ifndef _WX_MSW_FDREPDLG_H_
12#define _WX_MSW_FDREPDLG_H_
13
8db37e06
VZ
14// ----------------------------------------------------------------------------
15// wxFindReplaceDialog: dialog for searching / replacing text
16// ----------------------------------------------------------------------------
17
53a2db12 18class WXDLLIMPEXP_CORE wxFindReplaceDialog : public wxFindReplaceDialogBase
8db37e06
VZ
19{
20public:
21 // ctors and such
22 wxFindReplaceDialog() { Init(); }
23 wxFindReplaceDialog(wxWindow *parent,
24 wxFindReplaceData *data,
25 const wxString &title,
26 int style = 0);
27
28 bool Create(wxWindow *parent,
29 wxFindReplaceData *data,
30 const wxString &title,
31 int style = 0);
32
33 virtual ~wxFindReplaceDialog();
34
35 // implementation only from now on
36
37 wxFindReplaceDialogImpl *GetImpl() const { return m_impl; }
38
39 // override some base class virtuals
cbe874bd 40 virtual bool Show(bool show = true);
8db37e06
VZ
41 virtual void SetTitle( const wxString& title);
42 virtual wxString GetTitle() const;
43
44protected:
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);
50
51 void Init();
52
53 wxString m_title;
54
55 wxFindReplaceDialogImpl *m_impl;
56
57 DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog)
c0c133e1 58 wxDECLARE_NO_COPY_CLASS(wxFindReplaceDialog);
8db37e06
VZ
59};
60
20ceebaa 61#endif // _WX_MSW_FDREPDLG_H_