Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
fix the button for opening a new vvd viewer (windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
takashi310 committed Jan 12, 2022
1 parent 0762360 commit 57652c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluorender/FluoRender/VRenderFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ void VRenderFrame::OnNewView(wxCommandEvent& WXUNUSED(event))
expath = "open -n " + expath + "/../../";
std::system(expath.ToStdString().c_str());
#elif _WIN32
ShellExecute(NULL, _T("open"), _T(expath.ToStdString().c_str()), NULL, NULL, SW_SHOW);
ShellExecute(NULL, _T("open"), expath.ToStdWstring().c_str(), NULL, NULL, SW_SHOW);
#endif

}
Expand Down

0 comments on commit 57652c9

Please sign in to comment.