///////////////////////////////////////////////////////////////////////////// // Name: src/mac/classic/fontdlg.cpp // Purpose: wxFontDialog class. NOTE: you can use the generic class // if you wish, instead of implementing this. // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 // RCS-ID: $Id: fontdlg.cpp 39337 2006-05-25 21:08:11Z ABX $ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" #include "wx/mac/fontdlg.h" #ifndef WX_PRECOMP #include "wx/cmndata.h" #endif IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) /* * wxFontDialog */ wxFontDialog::wxFontDialog() { m_dialogParent = NULL; } wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData& data) { Create(parent, data); } bool wxFontDialog::Create(wxWindow *parent, const wxFontData& data) { m_dialogParent = parent; m_fontData = data; // TODO: you may need to do dialog creation here, unless it's // done in ShowModal. return true; } int wxFontDialog::ShowModal() { // TODO: show (maybe create) the dialog return wxID_CANCEL; }