]> git.saurik.com Git - wxWidgets.git/blob - src/mac/classic/fontdlg.cpp
Testing CVSROOT/loginfo changes
[wxWidgets.git] / src / mac / classic / fontdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: fontdlg.cpp
3 // Purpose: wxFontDialog class. NOTE: you can use the generic class
4 // if you wish, instead of implementing this.
5 // Author: Stefan Csomor
6 // Modified by:
7 // Created: 1998-01-01
8 // RCS-ID: $Id$
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #include "wx/mac/fontdlg.h"
14 #include "wx/cmndata.h"
15
16 IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
17
18 /*
19 * wxFontDialog
20 */
21
22 wxFontDialog::wxFontDialog()
23 {
24 m_dialogParent = NULL;
25 }
26
27 wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData& data)
28 {
29 Create(parent, data);
30 }
31
32 bool wxFontDialog::Create(wxWindow *parent, const wxFontData& data)
33 {
34 m_dialogParent = parent;
35
36 m_fontData = data;
37
38 // TODO: you may need to do dialog creation here, unless it's
39 // done in ShowModal.
40 return TRUE;
41 }
42
43 int wxFontDialog::ShowModal()
44 {
45 // TODO: show (maybe create) the dialog
46 return wxID_CANCEL;
47 }
48