Corrected wrong use of delete in region code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-05-05 07:31:23 +00:00
parent ec3589a62c
commit 644231539d
3 changed files with 6 additions and 6 deletions

View File

@@ -483,12 +483,12 @@ public:
wxRIRefData::~wxRIRefData()
{
delete m_rects;
delete [] m_rects;
}
void wxRIRefData::CreateRects( const wxRegion& region )
{
delete m_rects;
delete [] m_rects;
Init();