]> git.saurik.com Git - wxWidgets.git/blame - src/mac/classic/fontdlg.cpp
applying patch 1345435
[wxWidgets.git] / src / mac / classic / fontdlg.cpp
CommitLineData
2646f485
SC
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
65571936 10// Licence: wxWindows licence
2646f485
SC
11/////////////////////////////////////////////////////////////////////////////
12
2646f485
SC
13#include "wx/mac/fontdlg.h"
14#include "wx/cmndata.h"
15
2646f485 16IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
2646f485
SC
17
18/*
19 * wxFontDialog
20 */
21
22wxFontDialog::wxFontDialog()
23{
24 m_dialogParent = NULL;
25}
26
27wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData& data)
28{
29 Create(parent, data);
30}
31
32bool 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
43int wxFontDialog::ShowModal()
44{
45 // TODO: show (maybe create) the dialog
46 return wxID_CANCEL;
47}
48