]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Remove unnecessary IsRadioButton().
[wxWidgets.git] / include / wx / sizer.h
index 8ae125062dac6c539ab553cb8234d53b711ea0bd..125dd55c7f95a8bd19eec4d1d17f338686f39dea 100644 (file)
@@ -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") );