X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20b35a6916b9b54af4bbfe4227393c08cd9a2724..0d077b41ee2af9273f77397a340d436d9229bd32:/include/wx/gbsizer.h diff --git a/include/wx/gbsizer.h b/include/wx/gbsizer.h index a6f90d9c9f..797d9d377d 100644 --- a/include/wx/gbsizer.h +++ b/include/wx/gbsizer.h @@ -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) };