Fix dumping wrong selector in wxOSX trace message

No real changes, just pass the correct (and interesting) value to
wxLogTrace() to actually see which selector are we called for.
This commit is contained in:
Vadim Zeitlin 2020-07-04 14:10:45 +02:00
parent 17b3a9fa96
commit 3c87ffdaec

View File

@ -2168,7 +2168,7 @@ void wxWidgetCocoaImpl::insertText(NSString* text, WXWidget slf, void *_cmd)
void wxWidgetCocoaImpl::doCommandBySelector(void* sel, WXWidget slf, void* _cmd)
{
wxLogTrace(TRACE_KEYS, "Selector %s for %s",
wxDumpSelector((SEL)_cmd), wxDumpNSView(slf));
wxDumpSelector((SEL)sel), wxDumpNSView(slf));
if ( m_lastKeyDownEvent!=NULL )
{