]> git.saurik.com Git - wxWidgets.git/commitdiff
replace wrong wxUSE_DYNAMIC_LOADER test with the correct wxUSE_DYNLIB_CLASS one
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Apr 2008 12:47:16 +0000 (12:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Apr 2008 12:47:16 +0000 (12:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index 8676863447b1891fac9cc8f9a3f025eb7cbb848c..0e9a6bdf1481a6b0d85f4c0ec33c2c8b6576885f 100644 (file)
@@ -1825,7 +1825,7 @@ wxString wxFileName::GetLongPath() const
 
 #if defined(__WIN32__) && !defined(__WXWINCE__) && !defined(__WXMICROWIN__)
 
-#if wxUSE_DYNAMIC_LOADER
+#if wxUSE_DYNLIB_CLASS
     typedef DWORD (WINAPI *GET_LONG_PATH_NAME)(const wxChar *, wxChar *, DWORD);
 
     // this is MT-safe as in the worst case we're going to resolve the function
@@ -1876,7 +1876,7 @@ wxString wxFileName::GetLongPath() const
             }
         }
     }
-#endif // wxUSE_DYNAMIC_LOADER
+#endif // wxUSE_DYNLIB_CLASS
 
     // The OS didn't support GetLongPathName, or some other error.
     // We need to call FindFirstFile on each component in turn.