call Create from wxGrid non-default ctor instead to ensure both methods of creation are in sync (they drifted apart already)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4145,12 +4145,8 @@ wxGrid::wxGrid( wxWindow *parent,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
const wxString& name )
|
||||
: wxScrolledWindow( parent, id, pos, size, (style | wxWANTS_CHARS), name ),
|
||||
m_colMinWidths(GRID_HASH_SIZE),
|
||||
m_rowMinHeights(GRID_HASH_SIZE)
|
||||
{
|
||||
Create();
|
||||
SetInitialSize(size);
|
||||
Create(parent, id, pos, size, style, name);
|
||||
}
|
||||
|
||||
bool wxGrid::Create(wxWindow *parent, wxWindowID id,
|
||||
|
Reference in New Issue
Block a user