summaryrefslogtreecommitdiff
path: root/vcl/osx/salnativewidgets.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-13 09:29:09 +0200
committerNoel Grandin <noel@peralex.com>2015-05-13 09:29:09 +0200
commit7c9d6c6e28adfd372791e2195ff4d830bad6b012 (patch)
tree7bc5479cceed6d4c914aada03ae3af7983dc1cfe /vcl/osx/salnativewidgets.cxx
parent5525ad365c9c19d86d32efdd4644bfcf43063bcf (diff)
fix OSX build (take 3)
after my commit 7ac403aa7cb2bd531245280d88bdc9fe6553c711 "convert FRAME_DRAW constants to scoped enum" Change-Id: If30425e329b13f971723d007086638abdb06865f
Diffstat (limited to 'vcl/osx/salnativewidgets.cxx')
-rw-r--r--vcl/osx/salnativewidgets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index fc033f56b980..5aa6f8d097e8 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -1325,7 +1325,7 @@ bool AquaSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPa
!( nFlags & (DrawFrameFlags::Menu | DrawFrameFlags::WindowBorder | DrawFrameFlags::BorderWindowBorder) ) )
{
Rectangle aRect(aCtrlBoundRect);
- if( nStyle & DrawFrameStyle::DoubleIn )
+ if( nStyle == DrawFrameStyle::DoubleIn )
{
aRect.Left() += 1;
aRect.Top() += 1;