void SetRow(int row);
/**
- Checks if the position is valid. An invalid position is (-1,-1).
+ Compare inequality of two wxGBPositions.
*/
- bool operator!(const wxGBPosition& p) const;
+ bool operator!=(const wxGBPosition& p) const;
/**
Compare equality of two wxGBPositions.
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.
void SetRowspan(int rowspan);
/**
- Checks if the span is valid. An invalid span is (-1,-1).
+ Compare inequality of two wxGBSpans.
*/
- bool operator!(const wxGBSpan& o) const;
+ bool operator!=(const wxGBSpan& o) const;
/**
Compare equality of two wxGBSpans.