]>
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 | ||
20ceebaa MW |
12 | #ifndef _WX_PALMOS_FDREPDLG_H_ |
13 | #define _WX_PALMOS_FDREPDLG_H_ | |
14 | ||
ffecfa5a JS |
15 | // ---------------------------------------------------------------------------- |
16 | // wxFindReplaceDialog: dialog for searching / replacing text | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
53a2db12 | 19 | class WXDLLIMPEXP_CORE wxFindReplaceDialog : public wxFindReplaceDialogBase |
ffecfa5a JS |
20 | { |
21 | public: | |
22 | // ctors and such | |
23 | wxFindReplaceDialog() { Init(); } | |
24 | wxFindReplaceDialog(wxWindow *parent, | |
25 | wxFindReplaceData *data, | |
26 | const wxString &title, | |
27 | int style = 0); | |
28 | ||
29 | bool Create(wxWindow *parent, | |
30 | wxFindReplaceData *data, | |
31 | const wxString &title, | |
32 | int style = 0); | |
33 | ||
34 | virtual ~wxFindReplaceDialog(); | |
35 | ||
36 | // implementation only from now on | |
37 | ||
38 | wxFindReplaceDialogImpl *GetImpl() const { return m_impl; } | |
39 | ||
40 | // override some base class virtuals | |
41 | virtual bool Show(bool show = TRUE); | |
42 | virtual void SetTitle( const wxString& title); | |
43 | virtual wxString GetTitle() const; | |
44 | ||
45 | protected: | |
46 | virtual void DoGetSize(int *width, int *height) const; | |
47 | virtual void DoGetClientSize(int *width, int *height) const; | |
48 | virtual void DoSetSize(int x, int y, | |
49 | int width, int height, | |
50 | int sizeFlags = wxSIZE_AUTO); | |
51 | ||
52 | void Init(); | |
53 | ||
54 | wxString m_title; | |
55 | ||
56 | wxFindReplaceDialogImpl *m_impl; | |
57 | ||
58 | DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog) | |
c0c133e1 | 59 | wxDECLARE_NO_COPY_CLASS(wxFindReplaceDialog); |
ffecfa5a JS |
60 | }; |
61 | ||
20ceebaa | 62 | #endif // _WX_PALMOS_FDREPDLG_H_ |