Fix speed regression in wxFileHistory::AddFileToHistory().
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Feb 2012 17:27:13 +0000 (17:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Feb 2012 17:27:13 +0000 (17:27 +0000)
commit406a0ab32cdc478e025c56c27b4e4e3d5e24f4a1
treefc6f2eb1e01b964e246fea00883a51261fe5375c
parent9d05b85deb9c4c8edbf8b6c92cc1a99f5debc10d
Fix speed regression in wxFileHistory::AddFileToHistory().

Avoid full normalization including wxPATH_NORM_LONG when adding files to
wxFileHistory as this can take a very long time when using network paths under
Windows.

Closes #13915.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/filehistory.h
src/common/filehistorycmn.cpp