add a method to show caret for the uneditable textbox
When an uneditable textbox has a caret, user can select the text and copy it.
This commit is contained in:
@@ -607,7 +607,7 @@ namespace nana
|
||||
internal_scope_guard lock;
|
||||
auto editor = get_drawer_trigger().impl()->editor();
|
||||
if (editor)
|
||||
editor->editable(accept);
|
||||
editor->editable(accept, false);
|
||||
}
|
||||
|
||||
bool spinbox::editable() const
|
||||
|
||||
Reference in New Issue
Block a user