From 986a98c6e9ef8ab069f1c91f5731bda30617fc0d Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 21 Aug 2003 06:27:11 +0000 Subject: [PATCH] added support for allocation-creation method git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/grid.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index f016ad57ff..608f31e635 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -1062,12 +1062,16 @@ WX_DECLARE_OBJARRAY_WITH_DECL(wxGridCellCoords, wxGridCellCoordsArray, class WXDLLIMPEXP_ADV wxGrid : public wxScrolledWindow { public: - wxGrid() - { - Create(); - } + wxGrid() ; - wxGrid( wxWindow *parent, + wxGrid( wxWindow *parent, + wxWindowID id, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxWANTS_CHARS, + const wxString& name = wxPanelNameStr ); + + bool Create( wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, -- 2.45.2