summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinfld.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-03-30 08:06:23 +0000
committerRüdiger Timm <rt@openoffice.org>2005-03-30 08:06:23 +0000
commit45c159de1b44720f67d0164eb837eb076a313986 (patch)
tree3a09476be5f84d4a75e5be075de4e6aeae3099ae /vcl/source/control/spinfld.cxx
parent7b132a31df13214db469b915726c2f911094553e (diff)
INTEGRATION: CWS vcl38 (1.16.144); FILE MERGED
2005/03/11 12:38:46 pl 1.16.144.1: #b6238085# support for Edits without border on systems that set NWFs HAS_BACKGROUND_TEXTURE
Diffstat (limited to 'vcl/source/control/spinfld.cxx')
-rw-r--r--vcl/source/control/spinfld.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index 14c3da7fcf66..830692ce5c9c 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: spinfld.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: pjunck $ $Date: 2004-10-22 12:14:05 $
+ * last change: $Author: rt $ $Date: 2005-03-30 09:06:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -364,8 +364,7 @@ void SpinField::ImplInit( Window* pParent, WinBits nWinStyle )
// Some themes want external spin buttons, therefore the main
// spinfield should not overdraw the border between its encapsulated
// edit field and the spin buttons
- if ( (nWinStyle & WB_SPIN) &&
- IsNativeControlSupported(CTRL_SPINBOX, HAS_BACKGROUND_TEXTURE) )
+ if ( (nWinStyle & WB_SPIN) && ImplUseNativeBorder( nWinStyle ) )
{
SetBackground();
mpEdit = new Edit( this, WB_NOBORDER );