xh_srchctrl.h 813 B

123456789101112131415161718192021222324252627282930
  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. // Copyright: (c) 2007 Sander Berents
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_XH_SRCH_H_
  10. #define _WX_XH_SRCH_H_
  11. #include "wx/xrc/xmlres.h"
  12. #if wxUSE_XRC && wxUSE_SEARCHCTRL
  13. class WXDLLIMPEXP_XRC wxSearchCtrlXmlHandler : public wxXmlResourceHandler
  14. {
  15. public:
  16. wxSearchCtrlXmlHandler();
  17. virtual wxObject *DoCreateResource();
  18. virtual bool CanHandle(wxXmlNode *node);
  19. DECLARE_DYNAMIC_CLASS(wxSearchCtrlXmlHandler)
  20. };
  21. #endif // wxUSE_XRC && wxUSE_SEARCHCTRL
  22. #endif // _WX_XH_SRCH_H_