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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user