xh_stbmp.h 813 B

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