]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Change the __NEXT_RUNTIME__ test to __OBJC_GC__ which is what I really meant
[wxWidgets.git] / include / wx / sizer.h
index a6a1252fb4d46bb91b78dc7692444795eb1d70c1..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") );
@@ -902,8 +903,7 @@ protected:
 
     void AdjustPropLastItem(wxSizer *psz, wxSizerItem *itemLast);    
     
-private:
-    DECLARE_DYNAMIC_CLASS(wxWrapSizer);
+    DECLARE_DYNAMIC_CLASS(wxWrapSizer)
 };
 
 //---------------------------------------------------------------------------