/**
If this item is tracking a spacer, return its size.
*/
- const wxSize GetSpacer() const;
+ wxSize GetSpacer() const;
/**
Get the userData item attribute.
This method replaces the previously set alignment with the specified one.
- @param align
+ @param alignment
Combination of @c wxALIGN_XXX bit masks.
@see Top(), Left(), Right(), Bottom(), Centre()
*/
- wxSizerFlags& Align(int align = 0);
+ wxSizerFlags& Align(int alignment);
/**
Sets the wxSizerFlags to have a border of a number of pixels specified
/**
Sets the proportion of this wxSizerFlags to @e proportion
*/
- wxSizerFlags& Proportion(int proportion = 0);
+ wxSizerFlags& Proportion(int proportion);
/**
Aligns the object to the right, similar for @c Align(wxALIGN_RIGHT).
@see SetFlexibleDirection(), SetNonFlexibleGrowMode()
*/
- int GetNonFlexibleGrowMode() const;
+ wxFlexSizerGrowMode GetNonFlexibleGrowMode() const;
/**
Returns @true if column @a idx is growable.
@see Remove()
*/
- bool Detach(size_t index);
+ virtual bool Detach(int index);
/**
Tell the sizer to resize the @a window so that its client area matches the
@return @true if the child item was found and removed, @false otherwise.
*/
- bool Remove(wxWindow* window);
+ virtual bool Remove(wxWindow* window);
/**
Removes a sizer child from the sizer and destroys it.
@return @true if the child item was found and removed, @false otherwise.
*/
- bool Remove(size_t index);
+ virtual bool Remove(int index);
/**
Detaches the given @a oldwin from the sizer and replaces it with the
@see wxSizerItem::SetMinSize()
*/
- void SetItemMinSize(wxWindow* window, int width, int height);
+ bool SetItemMinSize(wxWindow* window, int width, int height);
/**
Set an item's minimum size by window, sizer, or position.
@see wxSizerItem::SetMinSize()
*/
- void SetItemMinSize(wxSizer* sizer, int width, int height);
+ bool SetItemMinSize(wxSizer* sizer, int width, int height);
/**
Set an item's minimum size by window, sizer, or position.
@see wxSizerItem::SetMinSize()
*/
- void SetItemMinSize(size_t index, int width, int height);
+ bool SetItemMinSize(size_t index, int width, int height);
/**
Call this to give the sizer a minimal size.
/**
This constructor creates a new static box with the given label and parent window.
*/
- wxStaticBoxSizer(int orient, wxWindow parent,
+ wxStaticBoxSizer(int orient, wxWindow *parent,
const wxString& label = wxEmptyString);
/**