dolphin/Externals/wxWidgets3/include/wx/generic/fdrepdlg.h
Soren Jorvang d14efe561b Import r67258 of the wxWidgets trunk, which I expect will before
long become wxWidgets 2.9.2, which in turn is expected to be the
last 2.9 release before the 3.0 stable release.

Since the full wxWidgets distribution is rather large, I have
imported only the parts that we use, on a subdirectory basis:

art
include/wx/*.*
include/wx/aui
include/wx/cocoa
include/wx/generic
include/wx/gtk
include/wx/meta
include/wx/msw
include/wx/osx
include/wx/persist
include/wx/private
include/wx/protocol
include/wx/unix
src/aui
src/common
src/generic
src/gtk
src/msw
src/osx
src/unix


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-20 18:05:19 +00:00

71 lines
2 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: wx/generic/fdrepdlg.h
// Purpose: wxGenericFindReplaceDialog class
// Author: Markus Greither
// Modified by:
// Created: 25/05/2001
// RCS-ID: $Id: fdrepdlg.h 67254 2011-03-20 00:14:35Z DS $
// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GENERIC_FDREPDLG_H_
#define _WX_GENERIC_FDREPDLG_H_
class WXDLLIMPEXP_FWD_CORE wxCheckBox;
class WXDLLIMPEXP_FWD_CORE wxRadioBox;
class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
// ----------------------------------------------------------------------------
// wxGenericFindReplaceDialog: dialog for searching / replacing text
// ----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxGenericFindReplaceDialog : public wxFindReplaceDialogBase
{
public:
wxGenericFindReplaceDialog() { Init(); }
wxGenericFindReplaceDialog(wxWindow *parent,
wxFindReplaceData *data,
const wxString& title,
int style = 0)
{
Init();
(void)Create(parent, data, title, style);
}
bool Create(wxWindow *parent,
wxFindReplaceData *data,
const wxString& title,
int style = 0);
protected:
void Init();
void SendEvent(const wxEventType& evtType);
void OnFind(wxCommandEvent& event);
void OnReplace(wxCommandEvent& event);
void OnReplaceAll(wxCommandEvent& event);
void OnCancel(wxCommandEvent& event);
void OnUpdateFindUI(wxUpdateUIEvent& event);
void OnCloseWindow(wxCloseEvent& event);
wxCheckBox *m_chkCase,
*m_chkWord;
wxRadioBox *m_radioDir;
wxTextCtrl *m_textFind,
*m_textRepl;
private:
DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog)
DECLARE_EVENT_TABLE()
};
#endif // _WX_GENERIC_FDREPDLG_H_