diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index ad80f48d51..aef6c75cbf 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -913,6 +913,9 @@ void wxComboCtrlBase::PositionTextCtrl( int textCtrlXAdjust, int textCtrlYAdjust } } else +#else + wxUnusedVar(textCtrlXAdjust); + wxUnusedVar(textCtrlYAdjust); #endif { // If it has border, have textctrl will the entire text field.