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:
@@ -2051,7 +2051,9 @@ void wxComboCtrlBase::OnCharEvent(wxKeyEvent& event)
|
|||||||
void wxComboCtrlBase::OnFocusEvent( wxFocusEvent& event )
|
void wxComboCtrlBase::OnFocusEvent( wxFocusEvent& event )
|
||||||
{
|
{
|
||||||
// On Mac, this leads to infinite recursion and eventually a crash
|
// On Mac, this leads to infinite recursion and eventually a crash
|
||||||
#ifndef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
wxUnusedVar(event);
|
||||||
|
#else
|
||||||
if ( event.GetEventType() == wxEVT_SET_FOCUS )
|
if ( event.GetEventType() == wxEVT_SET_FOCUS )
|
||||||
{
|
{
|
||||||
wxWindow* tc = GetTextCtrl();
|
wxWindow* tc = GetTextCtrl();
|
||||||
|
Reference in New Issue
Block a user