]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filename.h
undid previous commit, the person who reported it retracted his claim
[wxWidgets.git] / include / wx / filename.h
index 4e5923d5d2b99c01f6d2bec32b12f847823e452b..491e7deecc842cae10fe5f9a8f27967730258d5b 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef   _WX_FILENAME_H_
 #define   _WX_FILENAME_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "filename.h"
 #endif
 
@@ -96,7 +96,7 @@ public:
     // constructors and assignment
 
         // the usual stuff
-    wxFileName() { }
+    wxFileName() { Clear(); }
     wxFileName( const wxFileName &filepath ) { Assign(filepath); }
 
         // from a full filename: if it terminates with a '/', a directory path
@@ -219,6 +219,7 @@ public:
     // looks up the appropriate type and creator from the registration and then sets
     bool MacSetDefaultTypeAndCreator() ;
 #endif
+
     // various file/dir operations
 
         // retrieve the value of the current working directory