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:
Stefan Csomor 2012-11-27 19:16:21 +00:00
parent 3af58289f5
commit f731483ded

View File

@ -1438,7 +1438,10 @@ void wxWidgetCocoaImpl::controlAction( WXWidget WXUNUSED(slf), void *WXUNUSED(_c
{
wxWindow* wxpeer = (wxWindow*) GetWXPeer();
if ( wxpeer )
{
wxpeer->OSXSimulateFocusEvents();
wxpeer->OSXHandleClicked(0);
}
}
void wxWidgetCocoaImpl::controlDoubleAction( WXWidget WXUNUSED(slf), void *WXUNUSED(_cmd), void *WXUNUSED(sender))