Merge branch 'hotfix-1.4.1' into develop

This commit is contained in:
Jinhao
2017-03-20 06:39:24 +08:00
2 changed files with 4 additions and 1 deletions

View File

@@ -997,6 +997,9 @@ namespace nana
OPENFILENAME ofn;
memset(&ofn, 0, sizeof ofn);
internal_scope_guard lock;
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = reinterpret_cast<HWND>(API::root(impl_->owner));
ofn.lpstrFile = &(wfile[0]);