]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpdata.cpp
The alignment controls are now left-aligned if the floating controls are not shown.
[wxWidgets.git] / src / html / helpdata.cpp
index 6db3bc5c65acfed2285563d501168b2d206a6d1f..c60c74e626c8783ab3eb8e5c7b88dc7847a5b088 100644 (file)
@@ -474,7 +474,8 @@ void wxHtmlHelpData::SetTempDir(const wxString& path)
         m_tempPath = path;
     else
     {
-        wxFileName fn(path);
+        wxFileName fn;
+        fn.AssignDir(path);
         fn.MakeAbsolute();
 
         m_tempPath = fn.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR);