Catching up for the week

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-05-21 04:20:43 +00:00
parent 72b4f026a2
commit b63b737dc8
3 changed files with 29 additions and 25 deletions

View File

@@ -45,17 +45,16 @@ wxFontDialog::wxFontDialog()
m_dialogParent = NULL;
}
wxFontDialog::wxFontDialog(wxWindow *parent, wxFontData *data)
wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData& rData)
{
Create(parent, data);
Create(parent, rData);
}
bool wxFontDialog::Create(wxWindow *parent, wxFontData *data)
bool wxFontDialog::Create(wxWindow *parent, const wxFontData& rData)
{
m_dialogParent = parent;
if (data)
m_fontData = *data;
m_fontData = rData;
return TRUE;
}