Use default values for some parameters of wxSizerItem and wxGBSizerItem ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -231,20 +231,20 @@ public:
|
||||
Construct a sizer item for tracking a spacer.
|
||||
*/
|
||||
wxGBSizerItem(int width, int height, const wxGBPosition& pos,
|
||||
const wxGBSpan& span, int flag, int border,
|
||||
wxObject* userData);
|
||||
const wxGBSpan& span=wxDefaultSpan, int flag=0, int border=0,
|
||||
wxObject* userData=NULL);
|
||||
/**
|
||||
Construct a sizer item for tracking a window.
|
||||
*/
|
||||
wxGBSizerItem(wxWindow* window, const wxGBPosition& pos,
|
||||
const wxGBSpan& span, int flag, int border,
|
||||
wxObject* userData);
|
||||
const wxGBSpan& span=wxDefaultSpan, int flag=0, int border=0,
|
||||
wxObject* userData=NULL);
|
||||
/**
|
||||
Construct a sizer item for tracking a subsizer.
|
||||
*/
|
||||
wxGBSizerItem(wxSizer* sizer, const wxGBPosition& pos,
|
||||
const wxGBSpan& span, int flag, int border,
|
||||
wxObject* userData);
|
||||
const wxGBSpan& span=wxDefaultSpan, int flag=0, int border=0,
|
||||
wxObject* userData=NULL);
|
||||
|
||||
/**
|
||||
Get the row and column of the endpoint of this item.
|
||||
@@ -291,6 +291,10 @@ public:
|
||||
is successful and after the next Layout the item will be resized.
|
||||
*/
|
||||
bool SetSpan(const wxGBSpan& span);
|
||||
|
||||
|
||||
wxGridBagSizer* GetGBSizer() const;
|
||||
void SetGBSizer(wxGridBagSizer* sizer);
|
||||
};
|
||||
|
||||
|
||||
@@ -348,3 +352,5 @@ public:
|
||||
bool operator==(const wxGBSpan& o) const;
|
||||
};
|
||||
|
||||
|
||||
const wxGBSpan wxDefaultSpan;
|
||||
|
Reference in New Issue
Block a user