Merge branch 'besh81-hotfix-1.5.6' into hotfix-1.5.6

This commit is contained in:
Jinhao 2018-02-17 04:44:45 +08:00
commit 19cc04db4f

View File

@ -1041,7 +1041,8 @@ namespace nana
bool filebox::show() const bool filebox::show() const
{ {
#if defined(NANA_WINDOWS) #if defined(NANA_WINDOWS)
std::wstring wfile; auto winitfile = to_wstring(impl_->file);
std::wstring wfile(winitfile);
wfile.resize(520); wfile.resize(520);
OPENFILENAME ofn; OPENFILENAME ofn;