]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: fontdlg.h | |
3 | // Purpose: wxFontDialog class. Use generic version if no | |
4 | // platform-specific implementation. | |
21802234 | 5 | // Author: David Webster |
0e320a79 | 6 | // Modified by: |
21802234 | 7 | // Created: 10/06/99 |
0e320a79 | 8 | // RCS-ID: $Id$ |
21802234 DW |
9 | // Copyright: (c) David Webster |
10 | // Licence: wxWindows licence | |
0e320a79 DW |
11 | ///////////////////////////////////////////////////////////////////////////// |
12 | ||
13 | #ifndef _WX_FONTDLG_H_ | |
14 | #define _WX_FONTDLG_H_ | |
15 | ||
0e320a79 DW |
16 | #include "wx/dialog.h" |
17 | #include "wx/cmndata.h" | |
18 | ||
19 | /* | |
20 | * Font dialog | |
21 | */ | |
21802234 | 22 | |
0e320a79 DW |
23 | class WXDLLEXPORT wxFontDialog: public wxDialog |
24 | { | |
25 | DECLARE_DYNAMIC_CLASS(wxFontDialog) | |
26 | public: | |
27 | wxFontDialog(); | |
28 | wxFontDialog(wxWindow *parent, wxFontData *data = NULL); | |
29 | ||
30 | bool Create(wxWindow *parent, wxFontData *data = NULL); | |
31 | ||
32 | int ShowModal(); | |
33 | wxFontData& GetFontData() { return m_fontData; } | |
34 | ||
d7e1a322 | 35 | //EK protected: |
0e320a79 DW |
36 | wxWindow* m_dialogParent; |
37 | wxFontData m_fontData; | |
38 | }; | |
39 | ||
40 | #endif | |
41 | // _WX_FONTDLG_H_ | |
42 |