From 2a818b7a73b609778bfb413af0be627ef891587c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 12 Jan 2008 17:45:41 +0000 Subject: [PATCH] initialize m_totalProportion in wxBoxSizer ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/sizer.h | 1 + 1 file changed, 1 insertion(+) 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") ); -- 2.45.2