X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7106fc4674550da40873f59f7eee9dc2d64dbce8..1aca9fcdfc51f165210a9976f28afb192bfb252f:/interface/wx/sizer.h?ds=sidebyside diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index 96c1de9e36..8083caef3d 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -49,12 +49,6 @@ window, the library wouldn't be able to delete such an orphan sizer and in this, and only this, case it should be deleted explicitly. - @beginWxPythonOnly - If you wish to create a sizer class in wxPython you should - derive the class from @c wxPySizer in order to get Python-aware - capabilities for the various virtual methods. - @endWxPythonOnly - @section wxsizer_flags wxSizer flags The "flag" argument accepted by wxSizeItem constructors and other @@ -410,7 +404,7 @@ public: /** Inform sizer about the first direction that has been decided (by - parent item). Returns true if it made use of the informtion (and + parent item). Returns true if it made use of the information (and recalculated min size). */ virtual bool InformFirstDirection(int direction, int size, int availableOtherDir); @@ -1007,17 +1001,17 @@ public: /** Construct a sizer item for tracking a spacer. */ - wxSizerItem(int width, int height, int proportion, int flag, - int border, wxObject* userData); + wxSizerItem(int width, int height, int proportion=0, int flag=0, + int border=0, wxObject* userData=NULL); //@{ /** Construct a sizer item for tracking a window. */ wxSizerItem(wxWindow* window, const wxSizerFlags& flags); - wxSizerItem(wxWindow* window, int proportion, int flag, - int border, - wxObject* userData); + wxSizerItem(wxWindow* window, int proportion=0, int flag=0, + int border=0, + wxObject* userData=NULL); //@} //@{ @@ -1025,9 +1019,9 @@ public: Construct a sizer item for tracking a subsizer. */ wxSizerItem(wxSizer* sizer, const wxSizerFlags& flags); - wxSizerItem(wxSizer* sizer, int proportion, int flag, - int border, - wxObject* userData); + wxSizerItem(wxSizer* sizer, int proportion=0, int flag=0, + int border=0, + wxObject* userData=NULL); //@} /**