X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5b7b1edc0c7514968aa068030d0e47be1ee7a2c..350777b68f3cbc6c51d8fdbb29151ee36247563e:/include/wx/mac/filedlg.h?ds=inline diff --git a/include/wx/mac/filedlg.h b/include/wx/mac/filedlg.h index be26bc0250..a013f9d8de 100644 --- a/include/wx/mac/filedlg.h +++ b/include/wx/mac/filedlg.h @@ -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) {} };