diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 1a23e54047..6d86234520 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -201,7 +201,6 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl RgnHandle updateRgn = NULL ; RgnHandle allocatedRgn = NULL ; wxRegion visRegion = thisWindow->MacGetVisibleRegion() ; - Rect controlBounds ; if ( cEvent.GetParameter(kEventParamRgnHandle, &updateRgn) != noErr ) { @@ -3436,4 +3435,4 @@ bool wxWindowMac::CanSetTransparent() wxByte wxWindowMac::GetTransparent() const { return m_macAlpha ; -} \ No newline at end of file +}