]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/modules/lseditor/finddlg.h
2c : check menu was inversely set
[wxWidgets.git] / utils / wxPython / modules / lseditor / finddlg.h
CommitLineData
4b123bb9
HH
1#ifndef __FINDDLG_G__
2#define __FINDDLG_G__
3
4#include "wx/dialog.h"
5#include "wx/checkbox.h"
6#include "wx/combobox.h"
7
8#include "wxstldefs.h"
9
10class wxFindTextDialog : public wxDialog
11{
12public:
13 static wxString mLastExpr;
14 static bool mMatchCase;
15 static bool mMatchWord;
16 static StrListT mExprList;
17
18 wxCheckBox* mpCaseCheck;
19 wxCheckBox* mpWordCheck;
20
21public:
22 wxFindTextDialog( wxWindow* parent, const string& expr = "" );
23
24 bool MatchWordOn() { return mMatchWord; }
25 bool MatchCaseOn() { return mMatchCase; }
26 wxString GetExpr() { return mLastExpr; }
27 void SetExpr( const wxString& expr );
28
29 wxComboBox* GetCombo();
30
31 virtual bool TransferDataFromWindow();
32
33 void OnKeyHook( wxKeyEvent& event );
34
35 DECLARE_EVENT_TABLE()
36};
37
38#endif