Added default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,6 +114,10 @@ public:
|
||||
int border,
|
||||
wxObject* userData );
|
||||
|
||||
// default ctor
|
||||
wxGBSizerItem();
|
||||
|
||||
|
||||
// Get the grid position of the item
|
||||
wxGBPosition GetPos() const { return m_pos; }
|
||||
void GetPos(int& row, int& col) const;
|
||||
@@ -155,7 +159,7 @@ protected:
|
||||
|
||||
|
||||
private:
|
||||
DECLARE_CLASS(wxGBSizerItem)
|
||||
DECLARE_DYNAMIC_CLASS(wxGBSizerItem)
|
||||
DECLARE_NO_COPY_CLASS(wxGBSizerItem)
|
||||
};
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_CLASS(wxGBSizerItem, wxSizerItem)
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxGBSizerItem, wxSizerItem)
|
||||
IMPLEMENT_CLASS(wxGridBagSizer, wxFlexGridSizer)
|
||||
|
||||
const wxGBSpan wxDefaultSpan;
|
||||
@@ -78,6 +78,13 @@ wxGBSizerItem::wxGBSizerItem( wxSizer *sizer,
|
||||
{
|
||||
}
|
||||
|
||||
wxGBSizerItem::wxGBSizerItem()
|
||||
: wxSizerItem(),
|
||||
m_pos(-1,-1),
|
||||
m_span(-1,-1),
|
||||
m_sizer(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user