// Purpose: provide wrapping sizer for layout (wxWrapSizer)
// Author: Arne Steinarson
// Created: 2008-05-08
-// RCS-ID: $Id$
// Copyright: (c) Arne Steinarson
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
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
return item->IsSpacer();
}
- virtual bool InformFirstDirection(int direction,
- int size,
- int availableOtherDir );
-
// helpers of CalcMin()
void CalcMinFromMinor(int totMinor);
void CalcMinFromMajor(int totMajor);
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_