- // preserve the background if necessary
- void SaveBg(const wxSize& area, int flags)
- {
- if ( flags & wxBUFFER_DC_PRESERVE_BG )
- {
- Blit(0, 0, area.GetWidth(), area.GetHeight(), m_dc, 0, 0);
- }
- }
-
- // Without the existence of a wxNullDC, this must be
- // a pointer, else it could probably be a reference.
- wxDC *m_dc;
+ // the underlying DC to which we copy everything drawn on this one in
+ // UnMask()
+ //
+ // NB: Without the existence of a wxNullDC, this must be a pointer, else it
+ // could probably be a reference.
+ wxDC *m_dc;