]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/filedlg.h
added definition of TARGET_CARBON when compiling with non generated setup.h
[wxWidgets.git] / include / wx / mac / filedlg.h
index be26bc025048c225e98bf0243b0e7720af8a8d87..a013f9d8de31fa114cc43ed10b70299b97b3385d 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_FILEDLG_H_
 #define _WX_FILEDLG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "filedlg.h"
 #endif
 
@@ -65,9 +65,9 @@ public:
     int ShowModal();
     
     // not supported for file dialog, RR
-    virtual void DoSetSize(int x, int y,
-                           int width, int height,
-                           int sizeFlags = wxSIZE_AUTO) {}
+    virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
+                           int WXUNUSED(width), int WXUNUSED(height),
+                           int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
 
 };