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