]>
git.saurik.com Git - wxWidgets.git/blob - contrib/src/xml/xh_stbox.cpp
04dd72e4dda47ab6f294f8a776582dc14b66491c
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: XML resource for wxStaticBox
7 // Copyright: (c) 2000 Brian Gavin
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
12 #pragma implementation "xh_stbox.h"
15 // For compilers that support precompilation, includes "wx.h".
16 #include "wx/wxprec.h"
22 #include "wx/xml/xh_stbox.h"
23 #include "wx/statbox.h"
25 wxStaticBoxXmlHandler::wxStaticBoxXmlHandler()
26 : wxXmlResourceHandler()
31 wxObject
*wxStaticBoxXmlHandler::DoCreateResource()
33 wxStaticBox
*box
= new wxStaticBox(m_parentAsWindow
,
35 GetText(wxT("label")),
36 GetPosition(), GetSize(),
47 bool wxStaticBoxXmlHandler::CanHandle(wxXmlNode
*node
)
49 return IsOfClass(node
, wxT("wxStaticBox"));