]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/lseditor/finddlg.h
updates to correct build errors (new locations, etc.)
[wxWidgets.git] / utils / wxPython / modules / lseditor / finddlg.h
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
10 class wxFindTextDialog : public wxDialog
11 {
12 public:
13 static wxString mLastExpr;
14 static bool mMatchCase;
15 static bool mMatchWord;
16 static StrListT mExprList;
17
18 wxCheckBox* mpCaseCheck;
19 wxCheckBox* mpWordCheck;
20
21 public:
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