fixing redraw debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1146,7 +1146,7 @@ void wxWidgetCocoaImpl::drawRect(void* rect, WXWidget slf, void *WXUNUSED(_cmd))
|
|||||||
#if OSX_DEBUG_DRAWING
|
#if OSX_DEBUG_DRAWING
|
||||||
CGContextBeginPath( context );
|
CGContextBeginPath( context );
|
||||||
CGContextMoveToPoint(context, 0, 0);
|
CGContextMoveToPoint(context, 0, 0);
|
||||||
NSRect bounds = [self bounds];
|
NSRect bounds = [slf bounds];
|
||||||
CGContextAddLineToPoint(context, 10, 0);
|
CGContextAddLineToPoint(context, 10, 0);
|
||||||
CGContextMoveToPoint(context, 0, 0);
|
CGContextMoveToPoint(context, 0, 0);
|
||||||
CGContextAddLineToPoint(context, 0, 10);
|
CGContextAddLineToPoint(context, 0, 10);
|
||||||
|
Reference in New Issue
Block a user