]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/fontdlg.h
Removed obsolete wxDate and wxTime classes.
[wxWidgets.git] / include / wx / mac / fontdlg.h
CommitLineData
0dbd6262
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.h
3// Purpose: wxFontDialog class. Use generic version if no
4// platform-specific implementation.
a31a5f85 5// Author: Stefan Csomor
0dbd6262 6// Modified by:
a31a5f85 7// Created: 1998-01-01
0dbd6262 8// RCS-ID: $Id$
a31a5f85 9// Copyright: (c) Stefan Csomor
d921af51 10// Licence: wxWindows licence
0dbd6262
SC
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_FONTDLG_H_
14#define _WX_FONTDLG_H_
15
af49c4b8 16#if defined(__GNUG__) && !defined(__APPLE__)
0dbd6262
SC
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();
baaae89f 32 wxFontDialog(wxWindow *parent, const wxFontData& data);
0dbd6262 33
baaae89f 34 bool Create(wxWindow *parent, const wxFontData& data);
0dbd6262
SC
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