#include "wx/notebook.h"
#include "wx/sizer.h"
+IMPLEMENT_DYNAMIC_CLASS(wxNotebookXmlHandler, wxXmlResourceHandler)
+
wxNotebookXmlHandler::wxNotebookXmlHandler()
: wxXmlResourceHandler(), m_isInside(FALSE), m_notebook(NULL)
{
{
bool old_ins = m_isInside;
m_isInside = FALSE;
- m_isInside = old_ins;
wxObject *item = CreateResFromNode(n, m_notebook, NULL);
+ m_isInside = old_ins;
wxWindow *wnd = wxDynamicCast(item, wxWindow);
if (wnd)