]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fileconf.cpp
simplified and cleaned up wxGTK's focus handling
[wxWidgets.git] / src / common / fileconf.cpp
index 6ffebac1943d43d87659969401a00e30d0a4e3f6..c229f690a68e9fe52a9f507e5228db5cdd284dfa 100644 (file)
 
 #include  "wx/stdpaths.h"
 
-#if defined(__WXMAC__)
-    #include  "wx/mac/private.h"  // includes mac headers
-#endif
-
 #if defined(__WXMSW__)
     #include "wx/msw/private.h"
 #endif  //windows.h
@@ -278,9 +274,9 @@ static void AddConfFileExtIfNeeded(wxFileName& fn)
 #if defined( __WXMAC__ )
         fn.SetName(fn.GetName() + wxT(" Preferences"));
 #elif defined( __UNIX__ )
-        fn.SetExt(wxT(".conf"));
+        fn.SetExt(wxT("conf"));
 #else   // Windows
-        fn.SetExt(wxT(".ini"));
+        fn.SetExt(wxT("ini"));
 #endif  // UNIX/Win
     }
 }