elimiate nana::string for listbox
This commit is contained in:
@@ -987,7 +987,7 @@ namespace nana
|
||||
internal_scope_guard lock;
|
||||
auto editor = _m_impl().editor();
|
||||
if (editor)
|
||||
return to_native_string(editor->text());
|
||||
return to_nstring(editor->text());
|
||||
return native_string_type();
|
||||
}
|
||||
|
||||
@@ -997,7 +997,7 @@ namespace nana
|
||||
|
||||
auto editor = _m_impl().editor();
|
||||
if (editor)
|
||||
editor->text(to_native_string(str));
|
||||
editor->text(to_nstring(str));
|
||||
|
||||
API::refresh_window(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user