]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/lseditor/finddlg.h
5 #include "wx/checkbox.h"
6 #include "wx/combobox.h"
10 class wxFindTextDialog
: public wxDialog
13 static wxString mLastExpr
;
14 static bool mMatchCase
;
15 static bool mMatchWord
;
16 static StrListT mExprList
;
18 wxCheckBox
* mpCaseCheck
;
19 wxCheckBox
* mpWordCheck
;
22 wxFindTextDialog( wxWindow
* parent
, const string
& expr
= "" );
24 bool MatchWordOn() { return mMatchWord
; }
25 bool MatchCaseOn() { return mMatchCase
; }
26 wxString
GetExpr() { return mLastExpr
; }
27 void SetExpr( const wxString
& expr
);
29 wxComboBox
* GetCombo();
31 virtual bool TransferDataFromWindow();
33 void OnKeyHook( wxKeyEvent
& event
);