X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..db16e5c3aae30ee4502d3e0d41eed500af365fe9:/include/wx/mac/fontdlg.h diff --git a/include/wx/mac/fontdlg.h b/include/wx/mac/fontdlg.h index 39da6fd967..f21d96a7da 100644 --- a/include/wx/mac/fontdlg.h +++ b/include/wx/mac/fontdlg.h @@ -13,7 +13,7 @@ #ifndef _WX_FONTDLG_H_ #define _WX_FONTDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "fontdlg.h" #endif @@ -29,9 +29,9 @@ class WXDLLEXPORT wxFontDialog: public wxDialog DECLARE_DYNAMIC_CLASS(wxFontDialog) public: wxFontDialog(); - wxFontDialog(wxWindow *parent, wxFontData *data = NULL); + wxFontDialog(wxWindow *parent, const wxFontData& data); - bool Create(wxWindow *parent, wxFontData *data = NULL); + bool Create(wxWindow *parent, const wxFontData& data); int ShowModal(); wxFontData& GetFontData() { return m_fontData; }