]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
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$ | |
bbcdf8bc JS |
8 | // Copyright: (c) Julian Smart |
9 | // Licence: wxWindows licence | |
2bda0e17 KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
bbcdf8bc JS |
12 | #ifndef _WX_FONTDLG_H_ |
13 | #define _WX_FONTDLG_H_ | |
2bda0e17 KB |
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 | { | |
bbcdf8bc JS |
28 | DECLARE_DYNAMIC_CLASS(wxFontDialog) |
29 | ||
30 | public: | |
31 | wxFontDialog(void); | |
32 | wxFontDialog(wxWindow *parent, wxFontData *data = NULL); | |
33 | ||
34 | bool Create(wxWindow *parent, wxFontData *data = NULL); | |
35 | ||
36 | int ShowModal(void); | |
37 | wxFontData& GetFontData(void) { return m_fontData; } | |
38 | ||
39 | protected: | |
40 | wxWindow *m_dialogParent; | |
41 | wxFontData m_fontData; | |
2bda0e17 KB |
42 | }; |
43 | ||
44 | #endif | |
bbcdf8bc | 45 | // _WX_FONTDLG_H_ |
2bda0e17 | 46 |