fix compile errors under Linux

This commit is contained in:
Jinhao
2015-12-16 01:21:44 +08:00
parent c260eebbc3
commit 2ca11d4e25
21 changed files with 274 additions and 279 deletions

View File

@@ -56,7 +56,7 @@ namespace nana
std::string widget::caption() const throw()
{
return utf8_cast(_m_caption());
return to_utf8(_m_caption());
}
std::wstring widget::caption_wstring() const throw()
@@ -64,7 +64,7 @@ namespace nana
#if defined(NANA_WINDOWS)
return _m_caption();
#else
return utf8_cast(_m_caption());
return to_wstring(_m_caption());
#endif
}