elimiate nana::string for listbox

This commit is contained in:
Jinhao
2015-12-10 00:24:31 +08:00
parent 049a36e1f7
commit 112deadd16
12 changed files with 384 additions and 202 deletions

View File

@@ -823,7 +823,7 @@ namespace API
auto const iwd = reinterpret_cast<basic_window*>(wd);
internal_scope_guard lock;
if (restrict::wd_manager().available(iwd))
iwd->widget_notifier->caption(to_native_string(title_utf8));
iwd->widget_notifier->caption(to_nstring(title_utf8));
}
void window_caption(window wd, const std::wstring& title)
@@ -831,7 +831,7 @@ namespace API
auto const iwd = reinterpret_cast<basic_window*>(wd);
internal_scope_guard lock;
if (restrict::wd_manager().available(iwd))
iwd->widget_notifier->caption(to_native_string(title));
iwd->widget_notifier->caption(to_nstring(title));
}
std::string window_caption(window wd)