diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-28 07:10:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-28 07:10:04 (GMT) |
commit | 4eaa2ec24684bfb2953997f3b0e3ae2d0abaef17 (patch) | |
tree | f803b0316ca786c59412ef2accb4737974b574c3 /macosx/tkMacOSXScrlbr.c | |
parent | 3b50413f1cf04d9960be2ac55ee591ee5ac150d8 (diff) | |
parent | 9cfbd3e51461d673752779dc1a09e8011a701846 (diff) | |
download | tk-4eaa2ec24684bfb2953997f3b0e3ae2d0abaef17.zip tk-4eaa2ec24684bfb2953997f3b0e3ae2d0abaef17.tar.gz tk-4eaa2ec24684bfb2953997f3b0e3ae2d0abaef17.tar.bz2 |
Merge 8.6
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c index 06e0402..8338f0e 100644 --- a/macosx/tkMacOSXScrlbr.c +++ b/macosx/tkMacOSXScrlbr.c @@ -174,8 +174,8 @@ static void drawMacScrollbar( MacScrollbar *msPtr, CGContextRef context) { - MacDrawable *macWin = (MacDrawable *) Tk_WindowId(scrollPtr->tkwin); - NSView *view = TkMacOSXDrawableView(macWin); + Drawable d = (Drawable)Tk_WindowId(scrollPtr->tkwin); + NSView *view = TkMacOSXDrawableView(d); CGPathRef path; CGPoint inner[2], outer[2], thumbOrigin; CGSize thumbSize; @@ -263,7 +263,7 @@ TkpDisplayScrollbar( if ((view == NULL) || (macWin->flags & TK_DO_NOT_DRAW) - || !TkMacOSXSetupDrawingContext((Drawable) macWin, NULL, &dc)) { + || !TkMacOSXSetupDrawingContext((Drawable)macWin, NULL, &dc)) { return; } |