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
This commit is contained in:
Vadim Zeitlin 2002-05-28 16:52:49 +00:00
parent 3c67451472
commit 8fb97d468b

View File

@ -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();