Partially reverted last changes because of problems under wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4634a5d6d7
commit
c3e4873f84
@ -1129,10 +1129,6 @@ void wxGrid::Init()
|
||||
|
||||
void wxGrid::CalcDimensions()
|
||||
{
|
||||
// This avoids a crash in SetScrollbars
|
||||
//
|
||||
if ( !m_displayed ) return;
|
||||
|
||||
int cw, ch;
|
||||
GetClientSize( &cw, &ch );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user