summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorSteve Yin <steve_y@apache.org>2014-01-28 09:55:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-28 11:37:23 +0000
commit05534b5523a264a18d5ee4b8014d6a0eb6470071 (patch)
tree54464f29268bb78493d2cfa3173d1bd3351ebbf6 /vcl/source/control
parent7be0997a0235b05fed9d448e642e0575a4e6e017 (diff)
Resolves: #i124008# listbox entry's are selected automatically...
on mouse over instead of mouse click (cherry picked from commit ae97dcb5b8d2dead81b007c5c71daf608f0c7bc3) Change-Id: Ib1ce0db60785ddc96473ef4ce88b578287956164
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/combobox.cxx2
-rw-r--r--vcl/source/control/lstbox.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index 6fb9d4739a8b..aa34972a2b55 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -463,7 +463,7 @@ IMPL_LINK_NOARG(ComboBox, ImplSelectHdl)
IMPL_LINK( ComboBox, ImplListItemSelectHdl, void*, EMPTYARG )
{
- ImplCallEventListeners( VCLEVENT_LISTBOX_SELECT );
+ ImplCallEventListeners( VCLEVENT_DROPDOWN_SELECT );
return 1;
}
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 2af18e2a1996..551382d8493d 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -249,7 +249,7 @@ IMPL_LINK( ListBox, ImplFocusHdl, void *, nPos )
IMPL_LINK( ListBox, ImplListItemSelectHdl, void*, EMPTYARG )
{
- ImplCallEventListeners( VCLEVENT_LISTBOX_SELECT );
+ ImplCallEventListeners( VCLEVENT_DROPDOWN_SELECT );
return 1;
}