From: Stefan Csomor Date: Fri, 23 Feb 2001 19:45:00 +0000 (+0000) Subject: Dont crash wxFileDialog on Mac when calling CentreOnXXX. Do nothing. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a5b7b1edc0c7514968aa068030d0e47be1ee7a2c Dont crash wxFileDialog on Mac when calling CentreOnXXX. Do nothing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/filedlg.h b/include/wx/mac/filedlg.h index 1ce921758e..be26bc0250 100644 --- a/include/wx/mac/filedlg.h +++ b/include/wx/mac/filedlg.h @@ -63,6 +63,12 @@ public: inline int GetFilterIndex() const { return m_filterIndex ; } int ShowModal(); + + // not supported for file dialog, RR + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO) {} + }; #define wxOPEN 0x0001