projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rewrote wxLocale to work in Unicode mode and support charsets better
[wxWidgets.git]
/
src
/
mac
/
dcmemory.cpp
diff --git
a/src/mac/dcmemory.cpp
b/src/mac/dcmemory.cpp
index ad67ca77c08fe55739c74d99075a0b741d8d4a5b..9985a00b9efa7286ca9e9496d1757f66c2798819 100644
(file)
--- a/
src/mac/dcmemory.cpp
+++ b/
src/mac/dcmemory.cpp
@@
-66,6
+66,8
@@
void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
{
m_macMask = mask->GetMaskBitmap() ;
}
{
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
m_ok = TRUE ;
}
else