]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/classic/fontdlg.h
Compilation fix
[wxWidgets.git] / include / wx / mac / classic / fontdlg.h
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
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_FONTDLG_H_
14 #define _WX_FONTDLG_H_
15
16 #include "wx/dialog.h"
17 #include "wx/cmndata.h"
18
19 /*
20 * Font dialog
21 */
22
23 class WXDLLEXPORT wxFontDialog: public wxDialog
24 {
25 DECLARE_DYNAMIC_CLASS(wxFontDialog)
26 public:
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
35 protected:
36 wxWindow* m_dialogParent;
37 wxFontData m_fontData;
38 };
39
40 #endif
41 // _WX_FONTDLG_H_
42