silence unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
929bb9d2b3
commit
2e7ad0644c
@ -2051,7 +2051,9 @@ void wxComboCtrlBase::OnCharEvent(wxKeyEvent& event)
|
||||
void wxComboCtrlBase::OnFocusEvent( wxFocusEvent& event )
|
||||
{
|
||||
// On Mac, this leads to infinite recursion and eventually a crash
|
||||
#ifndef __WXMAC__
|
||||
#ifdef __WXMAC__
|
||||
wxUnusedVar(event);
|
||||
#else
|
||||
if ( event.GetEventType() == wxEVT_SET_FOCUS )
|
||||
{
|
||||
wxWindow* tc = GetTextCtrl();
|
||||
|
Loading…
Reference in New Issue
Block a user