]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/fontdlg.h
implemented (untested) work around for wxScrolledWindow painting bug
[wxWidgets.git] / include / wx / mac / fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: fontdlg.h
3 // Purpose: wxFontDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: AUTHOR
6 // Modified by:
7 // Created: ??/??/98
8 // RCS-ID: $Id$
9 // Copyright: (c) AUTHOR
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_FONTDLG_H_
14 #define _WX_FONTDLG_H_
15
16 #ifdef __GNUG__
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
27 class WXDLLEXPORT wxFontDialog: public wxDialog
28 {
29 DECLARE_DYNAMIC_CLASS(wxFontDialog)
30 public:
31 wxFontDialog();
32 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
33
34 bool Create(wxWindow *parent, wxFontData *data = NULL);
35
36 int ShowModal();
37 wxFontData& GetFontData() { return m_fontData; }
38
39 protected:
40 wxWindow* m_dialogParent;
41 wxFontData m_fontData;
42 };
43
44 #endif
45 // _WX_FONTDLG_H_
46