X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/551caf8ba39e6c2393cad0f710cf635a49c80a65..0ec80ebe6f64c51ac16de064b462427899e37303:/src/mac/carbon/fontdlg.cpp diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index 9d730720e2..382bd5d35f 100644 --- a/src/mac/carbon/fontdlg.cpp +++ b/src/mac/carbon/fontdlg.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -41,9 +37,7 @@ #include "wx/mac/fontdlg.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) -#endif #include "wx/mac/private.h" @@ -66,7 +60,7 @@ wxFontDialog::~wxFontDialog() // empty } -void wxFontDialog::SetData(wxFontData& fontdata) +void wxFontDialog::SetData(const wxFontData& fontdata) { m_fontData = fontdata; } @@ -93,4 +87,4 @@ int wxFontDialog::ShowModal() return wxID_CANCEL; } -#endif // 10.2+ \ No newline at end of file +#endif // 10.2+