Another try at committing this
Reverted previous 'fixes' now that the array bug has been cured Prevented dragging dividers outside cells (this would cause an assert) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3092,8 +3092,7 @@ bool wxGridStringTable::DeleteRows( size_t pos, size_t numRows )
|
|||||||
|
|
||||||
if ( numRows >= curNumRows )
|
if ( numRows >= curNumRows )
|
||||||
{
|
{
|
||||||
for (size_t i=0; i< m_data.GetCount(); i++) m_data[i].Clear();
|
m_data.Clear(); // don't release memory just yet
|
||||||
m_data.Empty(); // don't release memory just yet
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user