Fix build with wxUSE_SEARCHCTRL==0

This commit is contained in:
Paul Cornett 2023-01-30 19:33:25 -08:00
parent 3619d347ee
commit fdf43f8049

View File

@ -597,6 +597,7 @@ extern int wxOSXGetIdFromSelector(SEL action );
}
return editor;
}
#if wxUSE_SEARCHCTRL
else if ([anObject isKindOfClass:[wxNSSearchField class]])
{
wxNSSearchField* sf = (wxNSSearchField*) anObject;
@ -611,6 +612,7 @@ extern int wxOSXGetIdFromSelector(SEL action );
}
return editor;
}
#endif // wxUSE_SEARCHCTRL
else if ([anObject isKindOfClass:[wxNSComboBox class]])
{
wxNSComboBox * cb = (wxNSComboBox*) anObject;