]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_collpane.cpp
use margin width after updating it in OnMeasureItem() (see #10452)
[wxWidgets.git] / src / xrc / xh_collpane.cpp
index 7134ccd2ab2d786e0c02d28a95a58d0bac5c08d9..bad9bcd9df42ae1213ea6e3f6c1cea2d6aa3e673 100644 (file)
@@ -26,7 +26,8 @@
 
 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);