X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f41d6c8cd750a9ea532ce66350615829c95f6ff2..b736d59eb531794e6b1cef2b4997c517569ff0dd:/interface/wx/wrapsizer.h?ds=sidebyside diff --git a/interface/wx/wrapsizer.h b/interface/wx/wrapsizer.h index f48092e3fd..61bc160bb3 100644 --- a/interface/wx/wrapsizer.h +++ b/interface/wx/wrapsizer.h @@ -2,10 +2,17 @@ // Name: wrapsizer.h // 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 +44,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 +56,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: /**