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:
parent
1f83c63111
commit
def328714d
@ -149,6 +149,8 @@ void wxWidgetCocoaImpl::SetDefaultButton( bool isDefault )
|
||||
|
||||
void wxWidgetCocoaImpl::PerformClick()
|
||||
{
|
||||
if ([m_osxView isKindOfClass:[NSControl class]])
|
||||
[(NSControl*)m_osxView performClick:nil];
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user