xh_chckl.h 907 B

123456789101112131415161718192021222324252627282930313233
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/xrc/xh_chckl.h
  3. // Purpose: XML resource handler for wxCheckListBox
  4. // Author: Bob Mitchell
  5. // Created: 2000/03/21
  6. // Copyright: (c) 2000 Bob Mitchell and Verant Interactive
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_XH_CHCKL_H_
  10. #define _WX_XH_CHCKL_H_
  11. #include "wx/xrc/xmlres.h"
  12. #if wxUSE_XRC && wxUSE_CHECKLISTBOX
  13. class WXDLLIMPEXP_XRC wxCheckListBoxXmlHandler : public wxXmlResourceHandler
  14. {
  15. DECLARE_DYNAMIC_CLASS(wxCheckListBoxXmlHandler)
  16. public:
  17. wxCheckListBoxXmlHandler();
  18. virtual wxObject *DoCreateResource();
  19. virtual bool CanHandle(wxXmlNode *node);
  20. private:
  21. bool m_insideBox;
  22. wxArrayString strList;
  23. };
  24. #endif // wxUSE_XRC && wxUSE_CHECKLISTBOX
  25. #endif // _WX_XH_CHECKLIST_H_