diff --git a/src/ShuttleGui.cpp b/src/ShuttleGui.cpp index d7aaec8ea..99703d833 100644 --- a/src/ShuttleGui.cpp +++ b/src/ShuttleGui.cpp @@ -401,10 +401,6 @@ wxChoice * ShuttleGuiBase::AddChoice( const wxString &Prompt, Style( 0 ) ); pChoice->SetSizeHints( 180,-1);// Use -1 for 'default size' - Platform specific. -#if wxUSE_ACCESSIBILITY - // so that name can be set on a standard control - mpWind->SetAccessible(safenew WindowAccessible(mpWind)); -#endif pChoice->SetName(wxStripMenuCodes(Prompt)); if ( Selected >= 0 && Selected < choices.size() ) pChoice->SetSelection( Selected );