Resolves: #i124008# listbox entry's are selected automatically...
on mouse over instead of mouse click (cherry picked from commit ae97dcb5b8d2dead81b007c5c71daf608f0c7bc3) Change-Id: Ib1ce0db60785ddc96473ef4ce88b578287956164
This commit is contained in:
committed by
Caolán McNamara
parent
7be0997a02
commit
05534b5523
@@ -110,6 +110,7 @@ void VCLXAccessibleBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEven
|
||||
{
|
||||
switch ( rVclWindowEvent.GetId() )
|
||||
{
|
||||
case VCLEVENT_DROPDOWN_SELECT:
|
||||
case VCLEVENT_LISTBOX_SELECT:
|
||||
case VCLEVENT_LISTBOX_FOCUSITEMCHANGED:
|
||||
|
||||
|
@@ -345,6 +345,7 @@ void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEve
|
||||
{
|
||||
switch ( rVclWindowEvent.GetId() )
|
||||
{
|
||||
case VCLEVENT_DROPDOWN_SELECT:
|
||||
case VCLEVENT_LISTBOX_SELECT:
|
||||
if ( !m_bDisableProcessEvent )
|
||||
UpdateSelection_Impl_Acc(b_IsDropDownList);
|
||||
|
@@ -151,6 +151,7 @@ namespace com { namespace sun { namespace star {
|
||||
#define VCLEVENT_ITEM_EXPANDED 1174
|
||||
#define VCLEVENT_ITEM_COLLAPSED 1175
|
||||
#define VCLEVENT_DROPDOWN_PRE_OPEN 1176
|
||||
#define VCLEVENT_DROPDOWN_SELECT 1177
|
||||
#define VCLEVENT_LISTBOX_FOCUSITEMCHANGED 1180
|
||||
|
||||
// VclMenuEvent
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user