]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/fdrepdlg.h
fixed compilation warning about signed/unsigned comparison
[wxWidgets.git] / include / wx / msw / fdrepdlg.h
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
6 // Created: 23/03/2001
7 // RCS-ID:
8 // Copyright: (c) Markus Greither
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma interface "mswfdrepdlg.h"
14 #endif
15
16 // ----------------------------------------------------------------------------
17 // wxFindReplaceDialog: dialog for searching / replacing text
18 // ----------------------------------------------------------------------------
19
20 class WXDLLEXPORT wxFindReplaceDialog : public wxFindReplaceDialogBase
21 {
22 public:
23 // ctors and such
24 wxFindReplaceDialog() { Init(); }
25 wxFindReplaceDialog(wxWindow *parent,
26 wxFindReplaceData *data,
27 const wxString &title,
28 int style = 0);
29
30 bool Create(wxWindow *parent,
31 wxFindReplaceData *data,
32 const wxString &title,
33 int style = 0);
34
35 virtual ~wxFindReplaceDialog();
36
37 // implementation only from now on
38
39 wxFindReplaceDialogImpl *GetImpl() const { return m_impl; }
40
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;
45
46 protected:
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);
52
53 void Init();
54
55 wxString m_title;
56
57 wxFindReplaceDialogImpl *m_impl;
58
59 DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog)
60 };
61
62