+/*
+ * ctFindReplaceDialog
+ */
+
+class ctFindReplaceDialog: public wxFindReplaceDialog
+{
+public:
+ // constructors and destructors
+ ctFindReplaceDialog( wxWindow* parent, const wxString& title,
+ long style = 0 );
+
+ void OnFind(wxFindDialogEvent& event);
+ void OnClose(wxFindDialogEvent& event);
+
+ // If wrap is true, go back to the beginning if at the end of the
+ // document.
+ bool DoFind(const wxString& textToFind, bool matchCase, bool wholeWord, bool wrap = true);
+
+ ctConfigItem* FindNextItem(ctConfigToolDoc* doc,
+ ctConfigItem* item,
+ const wxString& text,
+ bool matchCase,
+ bool matchWordOnly,
+ bool wrap,
+ bool skipFirst);
+ static wxFindReplaceData sm_findData;
+ static wxString sm_currentItem; // card name
+
+private:
+ DECLARE_EVENT_TABLE()
+};
+