]>
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 | 8 | // Copyright: (c) Julian Smart |
11c7d5b6 | 9 | // Licence: wxWindows licence |
2bda0e17 KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
11c7d5b6 VZ |
12 | #ifndef _WX_MSW_FONTDLG_H_ |
13 | #define _WX_MSW_FONTDLG_H_ | |
2bda0e17 KB |
14 | |
15 | #ifdef __GNUG__ | |
11c7d5b6 | 16 | #pragma interface "fontdlg.h" |
2bda0e17 KB |
17 | #endif |
18 | ||
19 | #include "wx/dialog.h" | |
20 | #include "wx/cmndata.h" | |
21 | ||
11c7d5b6 VZ |
22 | // ---------------------------------------------------------------------------- |
23 | // wxFontDialog | |
24 | // ---------------------------------------------------------------------------- | |
bbcdf8bc | 25 | |
11c7d5b6 VZ |
26 | class WXDLLEXPORT wxFontDialog : public wxDialog |
27 | { | |
bbcdf8bc | 28 | public: |
11c7d5b6 | 29 | wxFontDialog(); |
bbcdf8bc JS |
30 | wxFontDialog(wxWindow *parent, wxFontData *data = NULL); |
31 | ||
32 | bool Create(wxWindow *parent, wxFontData *data = NULL); | |
33 | ||
11c7d5b6 VZ |
34 | virtual int ShowModal(); |
35 | ||
36 | wxFontData& GetFontData() { return m_fontData; } | |
bbcdf8bc JS |
37 | |
38 | protected: | |
bbcdf8bc | 39 | wxFontData m_fontData; |
11c7d5b6 VZ |
40 | |
41 | DECLARE_DYNAMIC_CLASS(wxFontDialog) | |
2bda0e17 KB |
42 | }; |
43 | ||
44 | #endif | |
11c7d5b6 | 45 | // _WX_MSW_FONTDLG_H_ |
2bda0e17 | 46 |