git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24435
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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;
private:
- DECLARE_CLASS(wxGBSizerItem)
+ DECLARE_DYNAMIC_CLASS(wxGBSizerItem)
DECLARE_NO_COPY_CLASS(wxGBSizerItem)
};
//---------------------------------------------------------------------------
-IMPLEMENT_CLASS(wxGBSizerItem, wxSizerItem)
+IMPLEMENT_DYNAMIC_CLASS(wxGBSizerItem, wxSizerItem)
IMPLEMENT_CLASS(wxGridBagSizer, wxFlexGridSizer)
const wxGBSpan wxDefaultSpan;
{
}
+wxGBSizerItem::wxGBSizerItem()
+ : wxSizerItem(),
+ m_pos(-1,-1),
+ m_span(-1,-1),
+ m_sizer(NULL)
+{
+}
//---------------------------------------------------------------------------