fix bug that DEL key is incorrect in key_press/key_release(#259)
This commit is contained in:
@@ -1233,7 +1233,7 @@ namespace nana{ namespace widgets
|
||||
case keyboard::os_pagedown:
|
||||
_m_handle_move_key(arg);
|
||||
break;
|
||||
case keyboard::os_del:
|
||||
case keyboard::del:
|
||||
// send delete to set_accept function
|
||||
if (this->attr().editable && (!impl_->capacities.pred_acceptive || impl_->capacities.pred_acceptive(key)))
|
||||
del();
|
||||
|
||||
Reference in New Issue
Block a user