From: Paul Cornett Date: Sat, 12 Jan 2008 17:45:41 +0000 (+0000) Subject: initialize m_totalProportion in wxBoxSizer ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a818b7a73b609778bfb413af0be627ef891587c initialize m_totalProportion in wxBoxSizer ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 8ae125062d..125dd55c7f 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -799,6 +799,7 @@ public: wxBoxSizer(int orient) { m_orient = orient; + m_totalProportion = 0; wxASSERT_MSG( m_orient == wxHORIZONTAL || m_orient == wxVERTICAL, _T("invalid value for wxBoxSizer orientation") );