]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/fontdlg.h
wxDocManager gets the only view if none other specified as the current view;
[wxWidgets.git] / include / wx / msw / fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: fontdlg.h
3 // Purpose: wxFontDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart and Markus Holzem
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __FONTDLGH__
13 #define __FONTDLGH__
14
15 #ifdef __GNUG__
16 #pragma interface "fontdlg.h"
17 #endif
18
19 #include "wx/dialog.h"
20 #include "wx/cmndata.h"
21
22 /*
23 * FONT DIALOG
24 */
25
26 class WXDLLEXPORT wxFontDialog: public wxDialog
27 {
28 DECLARE_DYNAMIC_CLASS(wxFontDialog)
29 protected:
30 wxWindow *dialogParent;
31 wxFontData fontData;
32 public:
33 wxFontDialog(void);
34 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
35
36 bool Create(wxWindow *parent, wxFontData *data = NULL);
37
38 int ShowModal(void);
39 wxFontData& GetFontData(void) { return fontData; }
40 };
41
42 #endif
43 // __FONTDLGH__
44