// Purpose: interface of wxWrapSizer
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+// flags for wxWrapSizer
+enum
+{
+ wxEXTEND_LAST_ON_EACH_LINE,
+ wxREMOVE_LEADING_SPACES,
+ wxWRAPSIZER_DEFAULT_FLAGS
+};
+
/**
@class wxWrapSizer
Both of these flags are on by default.
*/
wxWrapSizer(int orient = wxHORIZONTAL,
- int flags = wxEXTEND_LAST_ON_EACH_LINE |
- wxREMOVE_LEADING_SPACES);
+ int flags = wxWRAPSIZER_DEFAULT_FLAGS);
/**
Not used by an application.
Returns @true if the information was used (and the sub-item min size was
updated).
*/
- bool InformFirstDirection(int direction, int size,
- int availableOtherDir);
+ virtual bool InformFirstDirection(int direction, int size,
+ int availableOtherDir);
+
+ virtual void RecalcSizes();
+ virtual wxSize CalcMin();
protected:
/**