X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/142b3bc26a6e93f5857bc053c7748b2c845c4a8e..830efc9b0cb87eae22d4435af7858175017522ab:/samples/font/font.cpp diff --git a/samples/font/font.cpp b/samples/font/font.cpp index b92b86b255..7ef9add570 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -544,7 +544,7 @@ void MyFrame::OnSelectFont(wxCommandEvent& WXUNUSED(event)) data.SetInitialFont(m_canvas->GetTextFont()); data.SetColour(m_canvas->GetColour()); - wxFontDialog dialog(this, &data); + wxFontDialog dialog(this, data); if ( dialog.ShowModal() == wxID_OK ) { wxFontData retData = dialog.GetFontData();