X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9234615181cb1b63d509c2e16afb39b374d44987..aacd14428971b5e199f88597f76a895c68dd298f:/src/mac/carbon/utils.cpp diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 00a59e4527..479e31e3cd 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -93,7 +93,7 @@ static int DoGetOSVersion(int *majorVsn, int *minorVsn) // debugging support // ---------------------------------------------------------------------------- -#if defined(__WXMAC__) && !defined(__DARWIN__) && defined(__MWERKS__) && (__MWERKS__ >= 0x2400) +#if defined(__WXDEBUG__) && defined(__WXMAC__) && !defined(__DARWIN__) && defined(__MWERKS__) && (__MWERKS__ >= 0x2400) // MetroNub stuff doesn't seem to work in CodeWarrior 5.3 Carbon builds... @@ -1382,7 +1382,6 @@ void wxMacControl::ScrollRect( wxRect *r , int dx , int dy ) { Rect bounds ; GetControlBounds( m_controlRef , &bounds ) ; - Point topleft = { bounds.top , bounds.left } ; bounds.left += r->x ; bounds.top += r->y ; bounds.bottom = bounds.top + r->height ;