Kaydet (Commit) 97d4f7e0 authored tarafından Julien Nabet's avatar Julien Nabet

Let's use RADIO_BUTTON and CHECK_BUTTON roles

Thank you Caolán and Niklas for your support!

Change-Id: Ied978b36cc309b2668889d878a309d1a1400633a
üst e4f6ba5e
......@@ -88,12 +88,14 @@ VCLXAccessibleToolBoxItem::VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_In
(( nBits & TIB_DROPDOWNONLY ) == TIB_DROPDOWNONLY)
)
m_nRole = AccessibleRole::BUTTON_DROPDOWN;
else if (
( ( nBits & TIB_CHECKABLE ) == TIB_CHECKABLE ) ||
else if (( nBits & TIB_CHECKABLE ) == TIB_CHECKABLE )
m_nRole = AccessibleRole::CHECK_BUTTON;
else if
(
( ( nBits & TIB_RADIOCHECK ) == TIB_RADIOCHECK ) ||
( ( nBits & TIB_AUTOCHECK ) == TIB_AUTOCHECK )
)
m_nRole = AccessibleRole::TOGGLE_BUTTON;
)
m_nRole = AccessibleRole::RADIO_BUTTON;
else if ( m_pToolBox->GetItemWindow( m_nItemId ) )
m_nRole = AccessibleRole::PANEL;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment