]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/classic/fontdlg.h
Include filefn.h always (or problems on at least Mac)
[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
16#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
17#pragma interface "fontdlg.h"
18#endif
19
20#include "wx/dialog.h"
21#include "wx/cmndata.h"
22
23/*
24 * Font dialog
25 */
26
27class WXDLLEXPORT wxFontDialog: public wxDialog
28{
29DECLARE_DYNAMIC_CLASS(wxFontDialog)
30public:
31 wxFontDialog();
32 wxFontDialog(wxWindow *parent, const wxFontData& data);
33
34 bool Create(wxWindow *parent, const wxFontData& data);
35
36 int ShowModal();
37 wxFontData& GetFontData() { return m_fontData; }
38
39protected:
40 wxWindow* m_dialogParent;
41 wxFontData m_fontData;
42};
43
44#endif
45 // _WX_FONTDLG_H_
46