Added dnd classes, data object classes, changed clipboard class doc,
cured filefn.cpp wxFileNameFromPath bug, some tweaks to HelpGen git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -648,7 +648,9 @@ wxString wxFileNameFromPath (const wxString& path1)
|
||||
return wxString(path + 2);
|
||||
#endif
|
||||
}
|
||||
return wxString("");
|
||||
// Yes, this should return the path, not an empty string, otherwise
|
||||
// we get "thing.txt" -> "".
|
||||
return path1;
|
||||
}
|
||||
|
||||
// Return just the directory, or NULL if no directory
|
||||
|
Reference in New Issue
Block a user