]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/classic/fontdlg.h
availability does not include any other headers, but it provides the necessary macros...
[wxWidgets.git] / include / wx / mac / classic / fontdlg.h
CommitLineData
52479aef
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.h
3// Purpose: wxFontDialog class. Use generic version if no
4// platform-specific implementation.
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
52479aef
SC
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_FONTDLG_H_
14#define _WX_FONTDLG_H_
15
52479aef
SC
16#include "wx/dialog.h"
17#include "wx/cmndata.h"
18
19/*
20 * Font dialog
21 */
22
23class WXDLLEXPORT wxFontDialog: public wxDialog
24{
25DECLARE_DYNAMIC_CLASS(wxFontDialog)
26public:
27 wxFontDialog();
28 wxFontDialog(wxWindow *parent, const wxFontData& data);
29
30 bool Create(wxWindow *parent, const wxFontData& data);
31
32 int ShowModal();
33 wxFontData& GetFontData() { return m_fontData; }
34
35protected:
36 wxWindow* m_dialogParent;
37 wxFontData m_fontData;
38};
39
40#endif
41 // _WX_FONTDLG_H_
42