diff options
Diffstat (limited to 'vcl/osx/salnativewidgets.cxx')
-rw-r--r-- | vcl/osx/salnativewidgets.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx index 0026d68a0dbd..cab5ae940a3c 100644 --- a/vcl/osx/salnativewidgets.cxx +++ b/vcl/osx/salnativewidgets.cxx @@ -803,7 +803,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, aTextDrawInfo.state=getState( nState ); aTextDrawInfo.isFocused=false; - rc.size.width+=1;//else there's a white space because an OS X theme has no 3D border + rc.size.width+=1; // else there's a white space because a macOS theme has no 3D border rc.size.height+=1; HIThemeDrawFrame(&rc, &aTextDrawInfo, mrContext, kHIThemeOrientationNormal); @@ -825,7 +825,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, aTextDrawInfo.state=getState( nState ); aTextDrawInfo.isFocused=false; - rc.size.width += 1; // else there may be a white space because an OS X theme has no 3D border + rc.size.width += 1; // else there may be a white space because a macOS theme has no 3D border // change rc so that the frame will encompass only the content region // see counterpart in GetNativeControlRegion rc.size.width += 2; |