summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-11-08 22:01:01 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-11-08 22:01:01 (GMT)
commita7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c (patch)
tree853c345562af0dafffc1638132f56e7cbf04f35b /macosx/tkMacOSXDraw.c
parent8e14ee04b3964bb9118b78ee62722fbf9f2129cb (diff)
downloadtk-a7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c.zip
tk-a7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c.tar.gz
tk-a7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c.tar.bz2
Cleanup of last patch to Tk-Cocoa
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 185d65a..3e12b36 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1492,7 +1492,7 @@ TkScrollWindow(
{
Drawable drawable = Tk_WindowId(tkwin);
MacDrawable *macDraw = (MacDrawable *) drawable;
- NSView *view = TkMacOSXDrawableView(macDraw);
+ TKContentView *view = (TKContentView *)TkMacOSXDrawableView(macDraw);
CGRect srcRect, dstRect;
HIShapeRef dmgRgn = NULL, extraRgn = NULL;
NSRect bounds, visRect, scrollSrc, scrollDst;