diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 831c669c75..15044b39d8 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -2943,6 +2943,8 @@ void wxGrid::Init() m_inOnKeyDown = FALSE; m_batchCount = 0; + + CalcDimensions(); } // ----------------------------------------------------------------------------