summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinfld.cxx
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2001-03-20 15:42:02 +0000
committerMalte Timmermann <mt@openoffice.org>2001-03-20 15:42:02 +0000
commitf6153053b378fdc9e556f353809caee925829a65 (patch)
tree78766a0215c6a3546ea660c204d45b4dfad825b4 /vcl/source/control/spinfld.cxx
parent9d31fcfd0f10abe3adbc6c59e8389878854a1d77 (diff)
#85170# Down Spin on Don't spin on COMMAND_WHEEL, when ReadOnly...
Diffstat (limited to 'vcl/source/control/spinfld.cxx')
-rw-r--r--vcl/source/control/spinfld.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index d87d20865726..4137eaa55cbe 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: spinfld.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:05:36 $
+ * last change: $Author: mt $ $Date: 2001-03-20 16:42:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -465,7 +465,7 @@ long SpinField::Notify( NotifyEvent& rNEvt )
if ( rNEvt.GetType() == EVENT_COMMAND )
{
- if ( rNEvt.GetCommandEvent()->GetCommand() == COMMAND_WHEEL )
+ if ( ( rNEvt.GetCommandEvent()->GetCommand() == COMMAND_WHEEL ) && !IsReadOnly() )
{
const CommandWheelData* pData = rNEvt.GetCommandEvent()->GetWheelData();
if ( pData->GetMode() == COMMAND_WHEEL_SCROLL )