Don't change a shortcut file name when changing its path.
wxFileName::MakeRelativeTo() is only supposed to change the path of the file, not its name, but it was doing the latter for the shortcuts as it implicitly resolved them to the name of their target. Fix this by ensuring we do not use wxPATH_NORM_SHORTCUT in MakeRelativeTo(). Closes #16239. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -612,6 +612,7 @@ wxMSW:
|
||||
- Fix order of radial gradient stops (Alexandru Pana).
|
||||
- Fix font created using wxFont(wxFontInfo()) ctor.
|
||||
- Fix wxFileName::GetShortcutTarget() in console applications.
|
||||
- Fix wxFileName::MakeRelativeTo() for shortcut files (gafatoa).
|
||||
|
||||
|
||||
3.0.1: (released 2014-06-15)
|
||||
|
Reference in New Issue
Block a user