Merge branch 'hotfix-1.5.6' of https://github.com/besh81/nana into besh81-hotfix-1.5.6

This commit is contained in:
Jinhao 2018-02-17 04:44:22 +08:00
commit 2abbc8b0a0

View File

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