simulating focus events, see #13495
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1438,7 +1438,10 @@ void wxWidgetCocoaImpl::controlAction( WXWidget WXUNUSED(slf), void *WXUNUSED(_c
|
|||||||
{
|
{
|
||||||
wxWindow* wxpeer = (wxWindow*) GetWXPeer();
|
wxWindow* wxpeer = (wxWindow*) GetWXPeer();
|
||||||
if ( wxpeer )
|
if ( wxpeer )
|
||||||
|
{
|
||||||
|
wxpeer->OSXSimulateFocusEvents();
|
||||||
wxpeer->OSXHandleClicked(0);
|
wxpeer->OSXHandleClicked(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWidgetCocoaImpl::controlDoubleAction( WXWidget WXUNUSED(slf), void *WXUNUSED(_cmd), void *WXUNUSED(sender))
|
void wxWidgetCocoaImpl::controlDoubleAction( WXWidget WXUNUSED(slf), void *WXUNUSED(_cmd), void *WXUNUSED(sender))
|
||||||
|
Reference in New Issue
Block a user