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:
parent
3c67451472
commit
8fb97d468b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user