X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc910c50d983d51c3d0706fc759753ecec57bec0..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/gbsizer.h?ds=inline diff --git a/interface/wx/gbsizer.h b/interface/wx/gbsizer.h index f1604bbc9e..5279db00c0 100644 --- a/interface/wx/gbsizer.h +++ b/interface/wx/gbsizer.h @@ -2,7 +2,6 @@ // Name: gbsizer.h // Purpose: interface of wxGBPosition // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -93,12 +92,20 @@ public: wxSizerItem* Add(wxSizer* sizer, const wxGBPosition& pos, const wxGBSpan& span = wxDefaultSpan, int flag = 0, int border = 0, wxObject* userData = NULL); + wxSizerItem* Add(wxGBSizerItem* item); + + /** + Adds a spacer to the given position. + @a width and @a height specify the dimension of the spacer to be added. + + @return A valid pointer if the spacer was successfully placed at the + given position, or @NULL if something was already there. + */ wxSizerItem* Add(int width, int height, const wxGBPosition& pos, const wxGBSpan& span = wxDefaultSpan, int flag = 0, int border = 0, wxObject* userData = NULL); - wxSizerItem* Add(wxGBSizerItem* item); - //@} + //@} /** Called when the managed size of the sizer is needed or when layout needs done.