summaryrefslogtreecommitdiff
path: root/vcl/osx/salnativewidgets.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-08 15:40:06 +0200
committerNoel Grandin <noel@peralex.com>2015-05-13 08:42:33 +0200
commit61eb53d39a8d90167dc5599c2a2092626788a630 (patch)
tree4b7b2b2149c178867fa3ab8d048cfce537aa9fab /vcl/osx/salnativewidgets.cxx
parent0ac80267730300f53e2410ffe9c0883f19f656a6 (diff)
convert FRAME_DRAW constants to scoped enum
Change-Id: I98e52aa56ec063ecc8f3d10baef65eb293c726bf
Diffstat (limited to 'vcl/osx/salnativewidgets.cxx')
-rw-r--r--vcl/osx/salnativewidgets.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 72e035f5a7f4..8ef6ed6a29df 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -1015,7 +1015,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType,
{
sal_uInt16 nStyle = aValue.getNumericVal();
if( nPart == PART_BORDER ) {
- if(!( nStyle & FRAME_DRAW_MENU ) && !(nStyle & FRAME_DRAW_WINDOWBORDER) )
+ if(!( nStyle & DrawFrameFlags::Menu ) && !(nStyle & DrawFrameFlags::WindowBorder) )
{
// #i84756# strange effects start to happen when HIThemeDrawFrame
// meets the border of the window. These can be avoided by clipping
@@ -1321,10 +1321,10 @@ bool AquaSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPa
{
sal_uInt16 nStyle = aValue.getNumericVal();
if( ( nPart == PART_BORDER ) &&
- !( nStyle & (FRAME_DRAW_MENU | FRAME_DRAW_WINDOWBORDER | FRAME_DRAW_BORDERWINDOWBORDER) ) )
+ !( nStyle & (DrawFrameFlags::Menu | DrawFrameFlags::WindowBorder | DrawFrameFlags::BorderWindowBorder) ) )
{
Rectangle aRect(aCtrlBoundRect);
- if( nStyle & FRAME_DRAW_DOUBLEIN )
+ if( nStyle & DrawFrameStyle::DoubleIn )
{
aRect.Left() += 1;
aRect.Top() += 1;