summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/gdi/salnativewidgets.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-05-30 09:03:02 +0000
committerOliver Bolte <obo@openoffice.org>2008-05-30 09:03:02 +0000
commit04bf43ec67db78b8e18a52c69fb56197b15d84a9 (patch)
tree888c4bc49d679cf4e00089339f81417e8f16476f /vcl/aqua/source/gdi/salnativewidgets.cxx
parent3aacf0ab246af5a5874342f5832f7c0d0a871ce8 (diff)
INTEGRATION: CWS aquabmpfix01 (1.9.12); FILE MERGED
2008/05/09 11:08:33 hdu 1.9.12.2: RESYNC: (1.9-1.11); FILE MERGED 2008/04/25 15:42:06 hdu 1.9.12.1: #i87689# refactor AquaSalGraphic to avoid excessive Quartz bitmap operations
Diffstat (limited to 'vcl/aqua/source/gdi/salnativewidgets.cxx')
-rw-r--r--vcl/aqua/source/gdi/salnativewidgets.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/aqua/source/gdi/salnativewidgets.cxx b/vcl/aqua/source/gdi/salnativewidgets.cxx
index 00ecc4b2eb93..548277651cdd 100644
--- a/vcl/aqua/source/gdi/salnativewidgets.cxx
+++ b/vcl/aqua/source/gdi/salnativewidgets.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: salnativewidgets.cxx,v $
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
* This file is part of OpenOffice.org.
*
@@ -477,7 +477,6 @@ BOOL AquaSalGraphics::drawNativeControl(ControlType nType,
CGContextSaveGState( mrContext );
Rectangle buttonRect = rControlRegion.GetBoundRect();
- RefreshRect( buttonRect.Left(), buttonRect.Top(), buttonRect.GetWidth(), buttonRect.GetHeight() );
HIRect rc = ImplGetHIRectFromRectangle(buttonRect);
/** Scrollbar parts code equivalent **
@@ -813,7 +812,6 @@ BOOL AquaSalGraphics::drawNativeControl(ControlType nType,
rc.size.width-=2;
HIThemeDrawTabPane(&rc, &aTabPaneDrawInfo, mrContext, kHIThemeOrientationNormal);
-
bOK = true;
}
break;
@@ -1113,6 +1111,7 @@ BOOL AquaSalGraphics::drawNativeControl(ControlType nType,
}
CGContextRestoreGState( mrContext );
+ RefreshRect( buttonRect.Left(), buttonRect.Top(), buttonRect.GetWidth(), buttonRect.GetHeight() );
return bOK;
}