mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
Use MoveFileEx() as just about everybody else (Boost, Python etc) does because this is the closest equivalent to POSIX rename(). This is a behaviour change compared to earlier 3.3.x series as ReplaceFile() used until now (see #25089) preserved file attributes but now we don't do it any longer -- but we provided CopyAttributesFrom() which can be used in the application if it needs it. Closes #26713.