Updated font dialog constructors to use a reference to the font data

as per more recent convention


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-05-18 11:05:58 +00:00
parent 44fbc477af
commit baaae89f09
7 changed files with 15 additions and 18 deletions

View File

@@ -1002,7 +1002,7 @@ wxFont wxGetFontFromUser(wxWindow *parent, const wxFont& fontInit)
}
wxFont fontRet;
wxFontDialog dialog(parent, &data);
wxFontDialog dialog(parent, data);
if ( dialog.ShowModal() == wxID_OK )
{
fontRet = dialog.GetFontData().GetChosenFont();