1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: XRC resource handler for wxStaticPicture
4 // Author: David A. Norris
7 // Copyright: David A. Norris
8 // Licence: wxWindows Licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_XH_STATPICT_H
12 #define _WX_XH_STATPICT_H
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface "xh_statpict.h"
18 #include "wx/xrc/xmlres.h"
19 #include "wx/gizmos/gizmos.h"
22 // XML resource handler for the wxStaticPicture class in wxContrib.
25 class WXDLLIMPEXP_GIZMOS_XRC wxStaticPictureXmlHandler
26 : public wxXmlResourceHandler
31 wxStaticPictureXmlHandler();
33 // Creates the control and returns a pointer to it.
34 virtual wxObject
*DoCreateResource();
36 // Returns true if we know how to create a control for the given node.
37 virtual bool CanHandle(wxXmlNode
*node
);
39 // Register with wxWindows' dynamic class subsystem.
40 DECLARE_DYNAMIC_CLASS(wxStaticPictureXmlHandler
)