#if wxUSE_XRC && wxUSE_COLLPANE
+#ifndef WX_PRECOMP
+ #include "wx/log.h"
+#endif
+
+#include "wx/collpane.h"
#include "wx/xrc/xh_collpane.h"
-#include "wx/log.h"
IMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler, wxXmlResourceHandler)
-wxCollapsiblePaneXmlHandler::wxCollapsiblePaneXmlHandler() : wxXmlResourceHandler()
+wxCollapsiblePaneXmlHandler::wxCollapsiblePaneXmlHandler()
+: wxXmlResourceHandler(), m_isInside(false)
{
XRC_ADD_STYLE(wxCP_NO_TLW_RESIZE);
XRC_ADD_STYLE(wxCP_DEFAULT_STYLE);