]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/fontdlg.cpp
guard against empty ref
[wxWidgets.git] / src / mac / carbon / fontdlg.cpp
index b32cc0993e7a36aa7f4b55df49bb89d035a83485..382bd5d35f64c21fa8ce213476c6f3802d2965fe 100644 (file)
@@ -60,7 +60,7 @@ wxFontDialog::~wxFontDialog()
     // empty
 }
 
-void wxFontDialog::SetData(wxFontData& fontdata)
+void wxFontDialog::SetData(const wxFontData& fontdata)
 {
     m_fontData = fontdata;
 }