if ( m_selected.Ok() )
{
m_selected.EndRawAccess() ;
- delete m_graphicContext ;
- m_graphicContext = NULL ;
+ wxDELETE(m_graphicContext);
}
}
if ( m_selected.Ok() )
{
m_selected.EndRawAccess() ;
- delete m_graphicContext ;
- m_graphicContext = NULL ;
+ wxDELETE(m_graphicContext);
}
m_selected = bitmap;