]> git.saurik.com Git - wxWidgets.git/blame - src/stubs/fontdlg.cpp
tried to correct the colour problems
[wxWidgets.git] / src / stubs / fontdlg.cpp
CommitLineData
93cf77c0
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.cpp
34138703
JS
3// Purpose: wxFontDialog class. NOTE: you can use the generic class
4// if you wish, instead of implementing this.
93cf77c0
JS
5// Author: AUTHOR
6// Modified by:
7// Created: ??/??/98
8// RCS-ID: $Id$
9// Copyright: (c) AUTHOR
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifdef __GNUG__
14#pragma implementation "fontdlg.h"
15#endif
16
34138703 17#include "wx/stubs/fontdlg.h"
93cf77c0
JS
18#include "wx/cmndata.h"
19
93cf77c0 20IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
93cf77c0
JS
21
22/*
23 * wxFontDialog
24 */
25
26wxFontDialog::wxFontDialog()
27{
28 m_dialogParent = NULL;
29}
30
31wxFontDialog::wxFontDialog(wxWindow *parent, wxFontData *data)
32{
33 Create(parent, data);
34}
35
36bool wxFontDialog::Create(wxWindow *parent, wxFontData *data)
37{
38 m_dialogParent = parent;
39
40 if (data)
41 m_fontData = *data;
42
43 // TODO: you may need to do dialog creation here, unless it's
44 // done in ShowModal.
45 return TRUE;
46}
47
48int wxFontDialog::ShowModal()
49{
50 // TODO: show (maybe create) the dialog
51 return wxID_CANCEL;
52}
53