#include "wx/panel.h"
#include "wx/tokenzr.h"
+IMPLEMENT_DYNAMIC_CLASS(wxSizerXmlHandler, wxXmlResourceHandler)
+
bool wxSizerXmlHandler::IsSizerNode(wxXmlNode *node)
{
return (IsOfClass(node, wxT("wxBoxSizer"))) ||
wxCHECK_MSG(m_parentSizer != NULL ||
(parentNode->GetType() == wxXML_ELEMENT_NODE &&
+ m_parentAsWindow != NULL &&
(m_parentAsWindow->IsKindOf(CLASSINFO(wxPanel)) ||
m_parentAsWindow->IsKindOf(CLASSINFO(wxFrame)) ||
m_parentAsWindow->IsKindOf(CLASSINFO(wxDialog)))