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:
parent
cb1e81d4cf
commit
2a818b7a73
@ -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") );
|
||||
|
Loading…
Reference in New Issue
Block a user