xh_stbox.h 797 B

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