initialize m_totalProportion in wxBoxSizer ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -799,6 +799,7 @@ public:
|
|||||||
wxBoxSizer(int orient)
|
wxBoxSizer(int orient)
|
||||||
{
|
{
|
||||||
m_orient = orient;
|
m_orient = orient;
|
||||||
|
m_totalProportion = 0;
|
||||||
|
|
||||||
wxASSERT_MSG( m_orient == wxHORIZONTAL || m_orient == wxVERTICAL,
|
wxASSERT_MSG( m_orient == wxHORIZONTAL || m_orient == wxVERTICAL,
|
||||||
_T("invalid value for wxBoxSizer orientation") );
|
_T("invalid value for wxBoxSizer orientation") );
|
||||||
|
Reference in New Issue
Block a user