]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/palmos/fdrepdlg.h | |
3 | // Purpose: wxFindReplaceDialog class | |
e1d63b79 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e1d63b79 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
ffecfa5a JS |
12 | // ---------------------------------------------------------------------------- |
13 | // wxFindReplaceDialog: dialog for searching / replacing text | |
14 | // ---------------------------------------------------------------------------- | |
15 | ||
16 | class WXDLLEXPORT wxFindReplaceDialog : public wxFindReplaceDialogBase | |
17 | { | |
18 | public: | |
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 | |
38 | virtual bool Show(bool show = TRUE); | |
39 | virtual void SetTitle( const wxString& title); | |
40 | virtual wxString GetTitle() const; | |
41 | ||
42 | protected: | |
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) | |
56 | DECLARE_NO_COPY_CLASS(wxFindReplaceDialog) | |
57 | }; | |
58 | ||
59 |