]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/stdpaths.cpp
Enable variadic macros for VC9 and later.
[wxWidgets.git] / src / msw / stdpaths.cpp
index 579844fad03a2e38c683639bbb8653e50e1c6113..a4a016c85b5454aa75ed516af2f2281a3cd65f39 100644 (file)
@@ -1,12 +1,12 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        msw/stdpaths.cpp
+// Name:        src/msw/stdpaths.cpp
 // Purpose:     wxStandardPaths implementation for Win32
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     2004-10-19
 // RCS-ID:      $Id$
 // Copyright:   (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
-// License:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -321,15 +321,18 @@ void wxStandardPaths::DontIgnoreAppSubDir()
     m_appDir.clear();
 }
 
+/* static */
+wxString wxStandardPaths::MSWGetShellDir(int csidl)
+{
+    return DoGetDirectory(csidl);
+}
+
 // ----------------------------------------------------------------------------
 // public functions
 // ----------------------------------------------------------------------------
 
 wxStandardPaths::wxStandardPaths()
 {
-    // under MSW it's common to use both the applicatio nand vendor
-    UseAppInfo(AppInfo_AppName | AppInfo_VendorName);
-
     // make it possible to run uninstalled application from the build directory
     IgnoreAppBuildSubDirs();
 }