Commit 81f5437e authored by Charlie Fenton's avatar Charlie Fenton

MGR: Attach Wizard's accessibility support ignores extra panels in several...

MGR: Attach Wizard's accessibility support ignores extra panels in several pages to improve clarity for disabled users

svn path=/trunk/boinc/; revision=19654
parent cc53e140
......@@ -9374,3 +9374,14 @@ Charlie 19 Nov 2009
BOINCGUIApp.cpp
mac_installer/
uninstall.cpp
Charlie 19 Nov 2009
- MGR: Attach Wizard's accessibility support ignores extra panels in
several pages to improve clarity for disabled users.
clientgui/
AccountInfoPage.cpp
AccountManagerInfoPage.cpp
CompletionPage.cpp
ProjectInfoPage.cpp
WelcomePage.cpp
......@@ -212,7 +212,14 @@ void CAccountInfoPage::CreateControls()
// it can be a username or an email address.
m_pAccountPasswordCtrl->SetValidator( wxTextValidator(wxFILTER_NONE, &m_strAccountPassword) );
m_pAccountConfirmPasswordCtrl->SetValidator( wxTextValidator(wxFILTER_NONE, &m_strAccountConfirmPassword) );
////@end CAccountInfoPage content construction
#ifdef __WXMAC__
//Accessibility
HIViewRef buttonView = (HIViewRef)m_pAccountCreateCtrl->GetHandle();
HIObjectRef theObject = (HIObjectRef)HIViewGetSuperview(buttonView);
HIObjectSetAccessibilityIgnored(theObject, true);
#endif
////@end CAccountInfoPage content construction
}
......
......@@ -154,7 +154,14 @@ void CAccountManagerInfoPage::CreateControls()
// Set validators
m_pProjectUrlCtrl->SetValidator( CValidateURL( & m_strProjectURL ) );
////@end CAccountManagerInfoPage content construction
#ifdef __WXMAC__
//Accessibility
HIViewRef listView = (HIViewRef)m_pProjectListCtrl->GetHandle();
HIObjectRef theObject = (HIObjectRef)HIViewGetSuperview(listView);
HIObjectSetAccessibilityIgnored(theObject, true);
#endif
////@end CAccountManagerInfoPage content construction
}
......
......@@ -123,7 +123,14 @@ void CCompletionPage::CreateControls()
m_pCompletionMessage = new wxStaticText;
m_pCompletionMessage->Create( itemWizardPage79, wxID_STATIC, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
itemBoxSizer80->Add(m_pCompletionMessage, 0, wxALIGN_LEFT|wxALL, 5);
////@end CCompletionPage content construction
#ifdef __WXMAC__
//Accessibility
HIViewRef textView = (HIViewRef)m_pCompletionTitle->GetHandle();
HIObjectRef theObject = (HIObjectRef)HIViewGetSuperview(textView);
HIObjectSetAccessibilityIgnored(theObject, true);
#endif
////@end CCompletionPage content construction
}
/*!
......
......@@ -159,7 +159,14 @@ void CProjectInfoPage::CreateControls()
// Set validators
m_pProjectUrlCtrl->SetValidator( CValidateURL( & m_strProjectURL ) );
////@end CProjectInfoPage content construction
#ifdef __WXMAC__
//Accessibility
HIViewRef listView = (HIViewRef)m_pProjectListCtrl->GetHandle();
HIObjectRef theObject = (HIObjectRef)HIViewGetSuperview(listView);
HIObjectSetAccessibilityIgnored(theObject, true);
#endif
////@end CProjectInfoPage content construction
}
......
......@@ -147,6 +147,12 @@ void CWelcomePage::CreateControls()
itemWizardPage2->SetSizer(itemBoxSizer3);
#ifdef __WXMAC__
//Accessibility
HIViewRef buttonView = (HIViewRef)m_pAttachToProjectCtrl->GetHandle();
HIObjectRef theObject = (HIObjectRef)HIViewGetSuperview(buttonView);
HIObjectSetAccessibilityIgnored(theObject, true);
#endif
////@end CWelcomePage content construction
}
......
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