support PerformClick for NSControls, closes #11129

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2009-09-24 09:52:04 +00:00
parent 1f83c63111
commit def328714d

View File

@ -149,6 +149,8 @@ void wxWidgetCocoaImpl::SetDefaultButton( bool isDefault )
void wxWidgetCocoaImpl::PerformClick()
{
if ([m_osxView isKindOfClass:[NSControl class]])
[(NSControl*)m_osxView performClick:nil];
}
//