]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dcmemory.cpp
Typo fix
[wxWidgets.git] / src / mac / dcmemory.cpp
index ad67ca77c08fe55739c74d99075a0b741d8d4a5b..9985a00b9efa7286ca9e9496d1757f66c2798819 100644 (file)
@@ -66,6 +66,8 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
                        {
                                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