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:
@@ -1129,10 +1129,6 @@ void wxGrid::Init()
|
|||||||
|
|
||||||
void wxGrid::CalcDimensions()
|
void wxGrid::CalcDimensions()
|
||||||
{
|
{
|
||||||
// This avoids a crash in SetScrollbars
|
|
||||||
//
|
|
||||||
if ( !m_displayed ) return;
|
|
||||||
|
|
||||||
int cw, ch;
|
int cw, ch;
|
||||||
GetClientSize( &cw, &ch );
|
GetClientSize( &cw, &ch );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user