IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC,wxPaintDC)
wxMemoryDC::wxMemoryDC(void)
+ : m_selected()
{
m_ok = TRUE;
SetBackground(*wxWHITE_BRUSH);
};
wxMemoryDC::wxMemoryDC( wxDC *WXUNUSED(dc) )
+ : m_selected()
{
- m_ok = TRUE;
+ m_ok = TRUE;
SetBackground(*wxWHITE_BRUSH);
SetBrush(*wxWHITE_BRUSH);
SetPen(*wxBLACK_PEN);
{
m_macMask = mask->GetMaskBitmap() ;
}
+ SetRectRgn( (RgnHandle) m_macBoundaryClipRgn , 0 , 0 , m_selected.GetWidth() , m_selected.GetHeight() ) ;
+ CopyRgn( (RgnHandle) m_macBoundaryClipRgn ,(RgnHandle) m_macCurrentClipRgn ) ;
m_ok = TRUE ;
}
else