Added call to CalcDimensions() at end of wxGrid::Init so that you can,

for example, put a grid in a dialog, size it and then call CreateGrid
at some later stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward 2000-02-25 06:56:41 +00:00
parent 6dc3e5dc9c
commit 3c79cf49ec

View File

@ -2943,6 +2943,8 @@ void wxGrid::Init()
m_inOnKeyDown = FALSE;
m_batchCount = 0;
CalcDimensions();
}
// ----------------------------------------------------------------------------