summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-05-18 07:05:01 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-05-18 07:05:01 +0000
commitd2a8c938c28018d119aae671d9d8c0b008b221df (patch)
treeb75663c24862917aecf1fdcad684019a02e5b42c /vcl/source
parentb1bf26149b0ee3176258dd8de33c6c28c019fac5 (diff)
INTEGRATION: CWS kdeplugfixes (1.17.42); FILE MERGED
2005/05/04 10:50:17 pl 1.17.42.1: #i48683# do not use NWD for spinfields with dropdown
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/spinfld.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index 830692ce5c9c..1d892c8b8c7c 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: spinfld.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: rt $ $Date: 2005-03-30 09:06:23 $
+ * last change: $Author: rt $ $Date: 2005-05-18 08:05:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -737,6 +737,8 @@ void SpinField::ImplCalcButtonAreas( OutputDevice* pDev, const Size& rOutSz, Rec
Region aContentUp, aContentDown;
if ( (pDev->GetOutDevType() == OUTDEV_WINDOW) &&
+ // there is just no useful native support for spinfields with dropdown
+ ! (GetStyle() & WB_DROPDOWN) &&
IsNativeControlSupported(CTRL_SPINBOX, PART_ENTIRE_CONTROL) )
{
Window *pWin = (Window*) pDev;