add native_string_type for internal use

This commit is contained in:
Jinhao
2015-12-03 01:49:44 +08:00
parent ed4d2af7dd
commit e8266b5ae8
24 changed files with 185 additions and 85 deletions

View File

@@ -234,12 +234,12 @@ namespace nana{
_m_init();
}
::std::string group::_m_caption() const throw()
auto group::_m_caption() const throw() -> native_string_type
{
return impl_->caption.caption();
return impl_->caption.caption_native();
}
void group::_m_caption(::std::string&& str)
void group::_m_caption(native_string_type&& str)
{
impl_->caption.caption(std::move(str));
impl_->update_div();