1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: XML resource handler for wxBoxSizer
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2000 Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_XH_SIZER_H_
12 #define _WX_XH_SIZER_H_
14 #if defined(__GNUG__) && !defined(__APPLE__)
15 #pragma interface "xh_sizer.h"
18 #include "wx/xrc/xmlres.h"
21 class WXDLLEXPORT wxSizer
;
23 class WXDLLIMPEXP_XRC wxSizerXmlHandler
: public wxXmlResourceHandler
25 DECLARE_DYNAMIC_CLASS(wxSizerXmlHandler
)
28 virtual wxObject
*DoCreateResource();
29 virtual bool CanHandle(wxXmlNode
*node
);
33 wxSizer
*m_parentSizer
;
35 bool IsSizerNode(wxXmlNode
*node
);
39 #endif // _WX_XH_BOXSIZER_H_