toolbox2.cxx (31fabce7) | toolbox2.cxx (ad3a95a3) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1723 unchanged lines hidden (view full) --- 1732 1733 pItem->meState = eState; 1734 ImplUpdateItem( nPos ); 1735 1736 // Notify button changed event to prepare accessibility bridge 1737 ImplCallEventListeners( VCLEVENT_TOOLBOX_BUTTONSTATECHANGED, reinterpret_cast< void* >( nPos ) ); 1738 1739 // Notify | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1723 unchanged lines hidden (view full) --- 1732 1733 pItem->meState = eState; 1734 ImplUpdateItem( nPos ); 1735 1736 // Notify button changed event to prepare accessibility bridge 1737 ImplCallEventListeners( VCLEVENT_TOOLBOX_BUTTONSTATECHANGED, reinterpret_cast< void* >( nPos ) ); 1738 1739 // Notify |
1740 ImplCallEventListeners( VCLEVENT_TOOLBOX_CLICK, reinterpret_cast< void* >( nPos ) ); | 1740//IAccessibility2 Implementation 2009----- 1741 //Solution:Call accessivle listener to notify state_changed event 1742 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMUPDATED,reinterpret_cast< void* >(nPos) ); 1743 //ImplCallEventListeners( VCLEVENT_TOOLBOX_CLICK, reinterpret_cast< void* >( nPos ) ); 1744//-----IAccessibility2 Implementation 2009 |
1741 } 1742 } 1743} 1744 1745// ----------------------------------------------------------------------- 1746 1747TriState ToolBox::GetItemState( sal_uInt16 nItemId ) const 1748{ --- 682 unchanged lines hidden --- | 1745 } 1746 } 1747} 1748 1749// ----------------------------------------------------------------------- 1750 1751TriState ToolBox::GetItemState( sal_uInt16 nItemId ) const 1752{ --- 682 unchanged lines hidden --- |