git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15380
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxRIRefData::~wxRIRefData()
{
- delete m_rects;
+ delete [] m_rects;
}
void wxRIRefData::CreateRects( const wxRegion& region )
{
- delete m_rects;
+ delete [] m_rects;
Init();
wxRIRefData::~wxRIRefData()
{
- delete m_rects;
+ delete [] m_rects;
}
void wxRIRefData::CreateRects( const wxRegion& region )
{
- delete m_rects;
+ delete [] m_rects;
Init();
wxRIRefData::~wxRIRefData()
{
- delete m_rects;
+ delete [] m_rects;
}
void wxRIRefData::CreateRects( const wxRegion& region )
{
if (m_rects)
- delete m_rects;
+ delete [] m_rects;
m_rects = 0;
m_numRects = 0;