git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53541
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual wxSize CalcMin();
virtual void RecalcSizes();
virtual wxSize CalcMin();
virtual void RecalcSizes();
+ virtual bool InformFirstDirection(int direction,
+ int size,
+ int availableOtherDir);
+
protected:
// This method is called to decide if an item represents empty space or
// not. We do this to avoid having space-only items first or last on a
protected:
// This method is called to decide if an item represents empty space or
// not. We do this to avoid having space-only items first or last on a
return item->IsSpacer();
}
return item->IsSpacer();
}
- virtual bool InformFirstDirection(int direction,
- int size,
- int availableOtherDir );
-
// helpers of CalcMin()
void CalcMinFromMinor(int totMinor);
void CalcMinFromMajor(int totMajor);
// helpers of CalcMin()
void CalcMinFromMinor(int totMinor);
void CalcMinFromMajor(int totMajor);
wxBoxSizer m_rows; // Sizer containing multiple rows of our items
wxBoxSizer m_rows; // Sizer containing multiple rows of our items
-private:
- DECLARE_DYNAMIC_CLASS_NO_COPY(wxWrapSizer);
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxWrapSizer)
};
#endif // _WX_WRAPSIZER_H_
};
#endif // _WX_WRAPSIZER_H_
// wxWrapSizer implementation
// ============================================================================
// wxWrapSizer implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxWrapSizer, wxBoxSizer);
+IMPLEMENT_DYNAMIC_CLASS(wxWrapSizer, wxBoxSizer)
wxWrapSizer::wxWrapSizer(int orient, int flags)
: wxBoxSizer(orient),
wxWrapSizer::wxWrapSizer(int orient, int flags)
: wxBoxSizer(orient),