]> git.saurik.com Git - wxWidgets.git/blame - src/stubs/fontdlg.cpp
Partial Watcom C++ 10.6 support added (doesn't link for some reason)
[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
20#if !USE_SHARED_LIBRARY
21IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
22#endif
23
24/*
25 * wxFontDialog
26 */
27
28wxFontDialog::wxFontDialog()
29{
30 m_dialogParent = NULL;
31}
32
33wxFontDialog::wxFontDialog(wxWindow *parent, wxFontData *data)
34{
35 Create(parent, data);
36}
37
38bool wxFontDialog::Create(wxWindow *parent, wxFontData *data)
39{
40 m_dialogParent = parent;
41
42 if (data)
43 m_fontData = *data;
44
45 // TODO: you may need to do dialog creation here, unless it's
46 // done in ShowModal.
47 return TRUE;
48}
49
50int wxFontDialog::ShowModal()
51{
52 // TODO: show (maybe create) the dialog
53 return wxID_CANCEL;
54}
55