diff options
-rw-r--r-- | vcl/osx/salnativewidgets.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx index 1b86448a019a..dda41306a60f 100644 --- a/vcl/osx/salnativewidgets.cxx +++ b/vcl/osx/salnativewidgets.cxx @@ -1309,12 +1309,8 @@ bool AquaSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPa case CTRL_TAB_ITEM: w = aCtrlBoundRect.GetWidth() + 2*TAB_TEXT_OFFSET - 2*VCL_TAB_TEXT_OFFSET; - -#ifdef OLD_TAB_STYLE - h = TAB_HEIGHT_NORMAL; -#else h = TAB_HEIGHT_NORMAL+2; -#endif + rNativeContentRegion = Rectangle( Point( x, y ), Size( w, h ) ); rNativeBoundingRegion = Rectangle( Point( x, y ), Size( w, h ) ); |