diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-05 16:11:21 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-05 16:11:21 +0000 |
commit | 2294146c6c574707fc2f2aafc98723241feaa6b1 (patch) | |
tree | d7bb8cc46f40f17759a6e49abfb7969ef76b78b4 /vcl/source/window | |
parent | c271004448f485cb603b674ce7efb3b8b6c1858c (diff) |
INTEGRATION: CWS aquavcl05_DEV300 (1.33.64); FILE MERGED
2007/12/17 10:01:11 pl 1.33.64.1: #i77550# improve NWF spinfields on aqua
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/brdwin.cxx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index ec9337cf6f0c..1a26e8b3fb3b 100644 --- a/vcl/source/window/brdwin.cxx +++ b/vcl/source/window/brdwin.cxx @@ -4,9 +4,9 @@ * * $RCSfile: brdwin.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: hr $ $Date: 2007-11-02 12:52:40 $ + * last change: $Author: kz $ $Date: 2008-03-05 17:11:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1179,14 +1179,8 @@ void ImplSmallBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHei case WINDOW_LONGCURRENCYFIELD: case WINDOW_NUMERICFIELD: case WINDOW_SPINFIELD: - if( pCtrl->GetStyle() & WB_SPIN ) - aCtrlType = CTRL_SPINBOX; - // FIXME: suppoort spin buttons correctly in salnativewidgets.cxx - else - { - aCtrlType = CTRL_EDITBOX; - mbNWFBorder = true; - } + mbNWFBorder = true; + aCtrlType = (pCtrl->GetStyle() & WB_SPIN) ? CTRL_SPINBOX : CTRL_EDITBOX; break; default: break; |