git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40223
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
value-=10;
StopPartialCompletion();
}
- else if ( comboStyle && wxCB_READONLY )
+ else if ( comboStyle & wxCB_READONLY )
{
// Try partial completion
int comboStyle = m_combo->GetWindowStyle();
int keycode = event.GetKeyCode();
// Process partial completion key codes here, but not the arrow keys as the base class will do that for us
- if ((comboStyle && wxCB_READONLY) &&
+ if ((comboStyle & wxCB_READONLY) &&
(keycode >= WXK_SPACE) && (keycode <=255) && (keycode != WXK_DELETE) && wxIsprint(keycode))
{
OnComboKeyEvent(event);