Fix bug [1297817] - applied suggested patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roger Gammans 2006-01-22 13:45:34 +00:00
parent 7bc5ddc6e4
commit 8fc856de1f

View File

@ -4183,8 +4183,7 @@ bool wxGrid::SetTable( wxGridTableBase *table, bool takeOwnership,
m_table = table;
m_table->SetView( this );
if (takeOwnership)
m_ownTable = true;
m_ownTable = takeOwnership;
m_selection = new wxGridSelection( this, selmode );
CalcDimensions();