]> git.saurik.com Git - wxWidgets.git/commitdiff
Re-enabled dynamic library code in wxFileName so
authorJulian Smart <julian@anthemion.co.uk>
Mon, 8 Apr 2002 11:55:05 +0000 (11:55 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 8 Apr 2002 11:55:05 +0000 (11:55 +0000)
that normalization works again in Win32. I don't
know why it had been disabled.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index baaf7e0f33f5de51cdc7ec04ad0808869032360a..15179463a42917326576dcd1340cc27fac0b833e 100644 (file)
@@ -82,7 +82,7 @@
 #include "wx/config.h"          // for wxExpandEnvVars
 #include "wx/utils.h"
 #include "wx/file.h"
-//#include "wx/dynlib.h"        // see GetLongPath below, code disabled.
+#include "wx/dynlib.h"
 
 // For GetShort/LongPathName
 #ifdef __WIN32__
@@ -1341,8 +1341,7 @@ wxString wxFileName::GetLongPath() const
 #if defined(__WIN32__) && !defined(__WXMICROWIN__)
     bool success = FALSE;
 
-    // VZ: why was this code disabled?
-#if 0 // wxUSE_DYNAMIC_LOADER
+#if wxUSE_DYNAMIC_LOADER
     typedef DWORD (*GET_LONG_PATH_NAME)(const wxChar *, wxChar *, DWORD);
 
     static bool s_triedToLoad = FALSE;