X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f41d6c8cd750a9ea532ce66350615829c95f6ff2..56d85ddeece939e0d2cf602a45286e8368544320:/interface/wx/wrapsizer.h diff --git a/interface/wx/wrapsizer.h b/interface/wx/wrapsizer.h index f48092e3fd..da82f34e19 100644 --- a/interface/wx/wrapsizer.h +++ b/interface/wx/wrapsizer.h @@ -3,9 +3,17 @@ // 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 @@ -37,8 +45,7 @@ public: 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. @@ -50,8 +57,11 @@ public: 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: /**