xh_grid.h 793 B

123456789101112131415161718192021222324252627282930
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/xrc/xh_grid.h
  3. // Purpose: XML resource handler for wxGrid
  4. // Author: Agron Selimaj
  5. // Created: 2005/08/11
  6. // Copyright: (c) 2005 Agron Selimaj, Freepour Controls Inc.
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_XH_GRD_H_
  10. #define _WX_XH_GRD_H_
  11. #include "wx/xrc/xmlres.h"
  12. #if wxUSE_XRC && wxUSE_GRID
  13. class WXDLLIMPEXP_XRC wxGridXmlHandler : public wxXmlResourceHandler
  14. {
  15. DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
  16. public:
  17. wxGridXmlHandler();
  18. virtual wxObject *DoCreateResource();
  19. virtual bool CanHandle(wxXmlNode *node);
  20. };
  21. #endif // wxUSE_XRC && wxUSE_GRID
  22. #endif // _WX_XH_GRD_H_