xh_tree.h 791 B

1234567891011121314151617181920212223242526272829
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/xrc/xh_tree.h
  3. // Purpose: XML resource handler for wxTreeCtrl
  4. // Author: Brian Gavin
  5. // Created: 2000/09/09
  6. // Copyright: (c) 2000 Brian Gavin
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_XH_TREE_H_
  10. #define _WX_XH_TREE_H_
  11. #include "wx/xrc/xmlres.h"
  12. #if wxUSE_XRC && wxUSE_TREECTRL
  13. class WXDLLIMPEXP_XRC wxTreeCtrlXmlHandler : public wxXmlResourceHandler
  14. {
  15. DECLARE_DYNAMIC_CLASS(wxTreeCtrlXmlHandler)
  16. public:
  17. wxTreeCtrlXmlHandler();
  18. virtual wxObject *DoCreateResource();
  19. virtual bool CanHandle(wxXmlNode *node);
  20. };
  21. #endif // wxUSE_XRC && wxUSE_TREECTRL
  22. #endif // _WX_XH_TREE_H_