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

@@ -29,9 +29,9 @@ class WXDLLEXPORT wxFontDialog: public wxDialog
DECLARE_DYNAMIC_CLASS(wxFontDialog)
public:
wxFontDialog();
wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
wxFontDialog(wxWindow *parent, const wxFontData& data);
bool Create(wxWindow *parent, wxFontData *data = NULL);
bool Create(wxWindow *parent, const wxFontData& data);
int ShowModal();
wxFontData& GetFontData() { return m_fontData; }