X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b781a6729859abc77e6ca5b1f81cbaad974a78f..db16e5c3aae30ee4502d3e0d41eed500af365fe9:/include/wx/mac/filedlg.h diff --git a/include/wx/mac/filedlg.h b/include/wx/mac/filedlg.h index 1ce921758e..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 @@ -63,6 +63,12 @@ public: inline int GetFilterIndex() const { return m_filterIndex ; } int ShowModal(); + + // not supported for file dialog, RR + virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y), + int WXUNUSED(width), int WXUNUSED(height), + int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {} + }; #define wxOPEN 0x0001