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