openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@apache.org
Subject svn commit: r1562022 - in /openoffice/trunk/main: accessibility/source/standard/vclxaccessiblebox.cxx accessibility/source/standard/vclxaccessiblelist.cxx vcl/inc/vcl/vclevent.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx
Date Tue, 28 Jan 2014 09:55:08 GMT
Author: steve_y
Date: Tue Jan 28 09:55:07 2014
New Revision: 1562022

URL: http://svn.apache.org/r1562022
Log:
Bug 124008 - listbox entry's are selected automatically on mouse over instead of mouse click

Modified:
    openoffice/trunk/main/accessibility/source/standard/vclxaccessiblebox.cxx
    openoffice/trunk/main/accessibility/source/standard/vclxaccessiblelist.cxx
    openoffice/trunk/main/vcl/inc/vcl/vclevent.hxx
    openoffice/trunk/main/vcl/source/control/combobox.cxx
    openoffice/trunk/main/vcl/source/control/lstbox.cxx

Modified: openoffice/trunk/main/accessibility/source/standard/vclxaccessiblebox.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/accessibility/source/standard/vclxaccessiblebox.cxx?rev=1562022&r1=1562021&r2=1562022&view=diff
==============================================================================
--- openoffice/trunk/main/accessibility/source/standard/vclxaccessiblebox.cxx (original)
+++ openoffice/trunk/main/accessibility/source/standard/vclxaccessiblebox.cxx Tue Jan 28 09:55:07
2014
@@ -116,6 +116,7 @@ void VCLXAccessibleBox::ProcessWindowEve
 {
 	switch ( rVclWindowEvent.GetId() )
 	{
+		case VCLEVENT_DROPDOWN_SELECT:
 		case VCLEVENT_LISTBOX_SELECT:
 		case VCLEVENT_LISTBOX_FOCUSITEMCHANGED:
 

Modified: openoffice/trunk/main/accessibility/source/standard/vclxaccessiblelist.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/accessibility/source/standard/vclxaccessiblelist.cxx?rev=1562022&r1=1562021&r2=1562022&view=diff
==============================================================================
--- openoffice/trunk/main/accessibility/source/standard/vclxaccessiblelist.cxx (original)
+++ openoffice/trunk/main/accessibility/source/standard/vclxaccessiblelist.cxx Tue Jan 28
09:55:07 2014
@@ -363,6 +363,7 @@ void VCLXAccessibleList::ProcessWindowEv
 {
 	switch ( rVclWindowEvent.GetId() )
       {
+		case VCLEVENT_DROPDOWN_SELECT:
 		case VCLEVENT_LISTBOX_SELECT:
 			if ( !m_bDisableProcessEvent )
 				UpdateSelection_Impl_Acc(b_IsDropDownList);

Modified: openoffice/trunk/main/vcl/inc/vcl/vclevent.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/vclevent.hxx?rev=1562022&r1=1562021&r2=1562022&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/vclevent.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/vclevent.hxx Tue Jan 28 09:55:07 2014
@@ -154,6 +154,7 @@ namespace com { namespace sun { namespac
 #define VCLEVENT_ITEM_COLLAPSED             1175
 // <--
 #define VCLEVENT_DROPDOWN_PRE_OPEN          1176
+#define VCLEVENT_DROPDOWN_SELECT			1177
 #define VCLEVENT_LISTBOX_FOCUSITEMCHANGED	1180
 // #define VCLEVENT_EDIT_CARETCHANGED  		xxxx	// IA2 CWS. MT: VCL only has selection API
- difference for selection_changed vs. caret_changed is handled in accessibility wrapper since
OOo 3.2
 

Modified: openoffice/trunk/main/vcl/source/control/combobox.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/control/combobox.cxx?rev=1562022&r1=1562021&r2=1562022&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/control/combobox.cxx (original)
+++ openoffice/trunk/main/vcl/source/control/combobox.cxx Tue Jan 28 09:55:07 2014
@@ -475,7 +475,7 @@ IMPL_LINK( ComboBox, ImplSelectHdl, void
 }
 IMPL_LINK( ComboBox, ImplListItemSelectHdl,  void*, EMPTYARG )
 {
-    ImplCallEventListeners( VCLEVENT_LISTBOX_SELECT );
+    ImplCallEventListeners( VCLEVENT_DROPDOWN_SELECT );
 	return 1;
 }
 // -----------------------------------------------------------------------

Modified: openoffice/trunk/main/vcl/source/control/lstbox.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/control/lstbox.cxx?rev=1562022&r1=1562021&r2=1562022&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/control/lstbox.cxx (original)
+++ openoffice/trunk/main/vcl/source/control/lstbox.cxx Tue Jan 28 09:55:07 2014
@@ -258,7 +258,7 @@ IMPL_LINK( ListBox, ImplFocusHdl, void *
 }
 IMPL_LINK( ListBox, ImplListItemSelectHdl, void*, EMPTYARG )
 {
-    ImplCallEventListeners( VCLEVENT_LISTBOX_SELECT );
+    ImplCallEventListeners( VCLEVENT_DROPDOWN_SELECT );
 	return 1;
 }
 



Mime
View raw message