Author: steve_y
Date: Thu Oct 17 10:03:36 2013
New Revision: 1533029

URL: http://svn.apache.org/r1533029
Log:
Modified for Sidebar focus event

Modified:
    
openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx

Modified: 
openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx?rev=1533029&r1=1533028&r2=1533029&view=diff
==============================================================================
--- 
openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx
 (original)
+++ 
openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx
 Thu Oct 17 10:03:36 2013
@@ -383,7 +383,9 @@ void AccContainerEventListener::fireStat
         {
             //don't send focused event on PANEL & OPTION_PANE if the parent is 
not toolbar
             short parentRole = getParentRole();
-            if (parentRole == AccessibleRole::TOOL_BAR)
+            if (parentRole == AccessibleRole::TOOL_BAR 
+                               || parentRole == AccessibleRole::SCROLL_PANE // 
sidebar
+                               || parentRole == AccessibleRole::PANEL) // 
sidebar
                 pAgent->NotifyAccEvent(UM_EVENT_STATE_FOCUSED, pAccessible);
         }
         //to update ComboBox's description


Reply via email to