if (wxIsCtrlDown())
{
WPARAM vkey = pMsg->wParam;
-
+
switch (vkey)
{
case 'C':
return false;
}
}
-
+
return wxChoice::MSWShouldPreProcessMessage(pMsg);
}
void wxComboBox::OnUpdateDelete(wxUpdateUIEvent& event)
{
- event.Enable(HasSelection() && IsEditable());
+ event.Enable(IsEditable() && HasSelection());
}
void wxComboBox::OnUpdateSelectAll(wxUpdateUIEvent& event)
{
- event.Enable(GetLastPosition() > 0);
+ event.Enable(IsEditable() && GetLastPosition() > 0);
}
#endif // wxUSE_COMBOBOX