From 8fb97d468b523a9bb834d5f60c0f1f0c4b9e674d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 28 May 2002 16:52:49 +0000 Subject: [PATCH 1/1] use new style ctor for wxFontDialog (patch 561411) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/font/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.45.2