]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_srchctrl.h
Allow wxPreferencesEditor::Dismiss() to work when using modal dialogs too.
[wxWidgets.git] / include / wx / xrc / xh_srchctrl.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_srchctl.h
3 // Purpose: XRC resource handler for wxSearchCtrl
4 // Author: Sander Berents
5 // Created: 2007/07/12
6 // RCS-ID: $Id$
7 // Copyright: (c) 2007 Sander Berents
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XH_SRCH_H_
12 #define _WX_XH_SRCH_H_
13
14 #include "wx/xrc/xmlres.h"
15
16 #if wxUSE_XRC && wxUSE_SEARCHCTRL
17
18 class WXDLLIMPEXP_XRC wxSearchCtrlXmlHandler : public wxXmlResourceHandler
19 {
20 public:
21 wxSearchCtrlXmlHandler();
22
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26 DECLARE_DYNAMIC_CLASS(wxSearchCtrlXmlHandler)
27 };
28
29 #endif // wxUSE_XRC && wxUSE_SEARCHCTRL
30
31 #endif // _WX_XH_SRCH_H_