]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/palmos/fdrepdlg.h | |
3 | // Purpose: wxFindReplaceDialog class | |
4 | // Author: William Osborne | |
5 | // Modified by: | |
6 | // Created: 10/13/04 | |
7 | // RCS-ID: $Id: | |
8 | // Copyright: (c) William Osborne | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) | |
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 | DECLARE_NO_COPY_CLASS(wxFindReplaceDialog) | |
61 | }; | |
62 | ||
63 |