2004-10-19 09:40:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/palmos/fdrepdlg.h
|
|
|
|
// Purpose: wxFindReplaceDialog class
|
2005-01-18 16:14:27 -05:00
|
|
|
// Author: William Osborne - minimal working wxPalmOS port
|
2004-10-19 09:40:30 -04:00
|
|
|
// Modified by:
|
|
|
|
// Created: 10/13/04
|
2005-01-18 16:14:27 -05:00
|
|
|
// RCS-ID: $Id$
|
2004-10-19 09:40:30 -04:00
|
|
|
// Copyright: (c) William Osborne
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2005-09-25 16:49:40 -04:00
|
|
|
#ifndef _WX_PALMOS_FDREPDLG_H_
|
|
|
|
#define _WX_PALMOS_FDREPDLG_H_
|
|
|
|
|
2004-10-19 09:40:30 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxFindReplaceDialog: dialog for searching / replacing text
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxFindReplaceDialog : public wxFindReplaceDialogBase
|
2004-10-19 09:40:30 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// ctors and such
|
|
|
|
wxFindReplaceDialog() { Init(); }
|
|
|
|
wxFindReplaceDialog(wxWindow *parent,
|
|
|
|
wxFindReplaceData *data,
|
|
|
|
const wxString &title,
|
|
|
|
int style = 0);
|
|
|
|
|
|
|
|
bool Create(wxWindow *parent,
|
|
|
|
wxFindReplaceData *data,
|
|
|
|
const wxString &title,
|
|
|
|
int style = 0);
|
|
|
|
|
|
|
|
virtual ~wxFindReplaceDialog();
|
|
|
|
|
|
|
|
// implementation only from now on
|
|
|
|
|
|
|
|
wxFindReplaceDialogImpl *GetImpl() const { return m_impl; }
|
|
|
|
|
|
|
|
// override some base class virtuals
|
|
|
|
virtual bool Show(bool show = TRUE);
|
|
|
|
virtual void SetTitle( const wxString& title);
|
|
|
|
virtual wxString GetTitle() const;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void DoGetSize(int *width, int *height) const;
|
|
|
|
virtual void DoGetClientSize(int *width, int *height) const;
|
|
|
|
virtual void DoSetSize(int x, int y,
|
|
|
|
int width, int height,
|
|
|
|
int sizeFlags = wxSIZE_AUTO);
|
|
|
|
|
|
|
|
void Init();
|
|
|
|
|
|
|
|
wxString m_title;
|
|
|
|
|
|
|
|
wxFindReplaceDialogImpl *m_impl;
|
|
|
|
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFindReplaceDialog)
|
2009-02-08 06:45:59 -05:00
|
|
|
wxDECLARE_NO_COPY_CLASS(wxFindReplaceDialog);
|
2004-10-19 09:40:30 -04:00
|
|
|
};
|
|
|
|
|
2005-09-25 16:49:40 -04:00
|
|
|
#endif // _WX_PALMOS_FDREPDLG_H_
|