projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4f9074
)
wxGraphicsContext always is using clipping regions in user coordinates
author
Stefan Csomor
<csomor@advancedconcepts.ch>
Mon, 6 Nov 2006 09:09:32 +0000
(09:09 +0000)
committer
Stefan Csomor
<csomor@advancedconcepts.ch>
Mon, 6 Nov 2006 09:09:32 +0000
(09:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43109
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/graphics.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/graphics.cpp
b/src/msw/graphics.cpp
index a9d5c4c0651e07b414c6d944c82c61769d67cc8b..612e8e926d9eb748cd0a77298bf0ded98ad47146 100644
(file)
--- a/
src/msw/graphics.cpp
+++ b/
src/msw/graphics.cpp
@@
-896,7
+896,8
@@
wxGDIPlusContext::~wxGDIPlusContext()
void wxGDIPlusContext::Clip( const wxRegion ®ion )
{
- m_context->SetClip((HRGN)region.GetHRGN(),CombineModeIntersect);
+ Region rgn((HRGN)region.GetHRGN());
+ m_context->SetClip(&rgn,CombineModeIntersect);
}
void wxGDIPlusContext::Clip( wxDouble x, wxDouble y, wxDouble w, wxDouble h )