]> git.saurik.com Git - wxWidgets.git/commitdiff
make sure mac pref files remain visible and named as before
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 7 Jul 2008 13:17:29 +0000 (13:17 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 7 Jul 2008 13:17:29 +0000 (13:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fileconf.cpp

index c229f690a68e9fe52a9f507e5228db5cdd284dfa..eabb54ed2a23f74a658c678a7a606ca12641321a 100644 (file)
@@ -311,7 +311,7 @@ wxFileName wxFileConfig::GetLocalFile(const wxString& szFile, int style)
 {
     wxFileName fn(GetLocalDir(style), szFile);
 
-#ifdef __UNIX__
+#if defined( __UNIX__ ) && !defined( __WXMAC__ )
     if ( !(style & wxCONFIG_USE_SUBDIR) )
     {
         // dot-files under Unix start with, well, a dot (but OTOH they usually