wxLogLastError(wxT("GpiDeleteBitmap(hbitmap)"));
}
}
- if (m_pBitmapMask)
- {
- delete m_pBitmapMask;
- m_pBitmapMask = NULL;
- }
+ wxDELETE(m_pBitmapMask);
} // end of wxBitmapRefData::Free
// ----------------------------------------------------------------------------
// May already be selected into a PS
//
pDC = GetSelectedInto();
- const wxPMDCImpl *impl;
+ const wxPMDCImpl *impl;
if (pDC != NULL &&
(impl = wxDynamicCast( pDC->GetImpl(), wxPMDCImpl )) != NULL)
{