Fix for incomplete initial display sometimes with wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward 1999-10-25 13:17:36 +00:00
parent 997bba3675
commit 6ac64257e4

View File

@ -816,9 +816,10 @@ void wxGrid::Init()
m_cellEditCtrlEnabled = TRUE;
m_editCtrlType = wxGRID_TEXTCTRL;
// Not really needed here, it gets called by OnSize()
// This is here in case OnSize does not get called when the grid is
// displayed
//
// CalcDimensions();
CalcDimensions();
}