diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-04-04 15:13:38 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-14 12:31:50 +0200 |
commit | c6279cc17bba5f589125dc8b8ba4888e78a26dd7 (patch) | |
tree | 8b09a4fad35cc4fc966985dbf8b059e15065bb48 /vcl | |
parent | c11790bb6758af3220cbb5931bf2c9f77cbb51eb (diff) |
OLD_TAB_STYLE never defined
Diffstat (limited to 'vcl')
-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 ) ); |