]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: fontdlgg.h | |
3 | // Purpose: wxFontDialog | |
4 | // Author: Robert Roebling | |
5 | // Created: | |
6 | // RCS-ID: $Id$ | |
7 | // Copyright: (c) Robert Roebling | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef __GTK_FONTDLGH__ | |
12 | #define __GTK_FONTDLGH__ | |
13 | ||
14 | #ifdef __GNUG__ | |
15 | #pragma interface "fontdlg.h" | |
16 | #endif | |
17 | ||
18 | #include "wx/setup.h" | |
19 | #include "wx/gdicmn.h" | |
20 | #include "wx/font.h" | |
21 | #include "wx/dialog.h" | |
22 | #include "wx/cmndata.h" | |
23 | ||
24 | //----------------------------------------------------------------------------- | |
25 | // classes | |
26 | //----------------------------------------------------------------------------- | |
27 | ||
28 | class wxFontDialog; | |
29 | ||
30 | //----------------------------------------------------------------------------- | |
31 | // wxFontDialog | |
32 | //----------------------------------------------------------------------------- | |
33 | ||
34 | class wxFontDialog: public wxDialog | |
35 | { | |
36 | public: | |
37 | wxFontDialog() {} | |
38 | wxFontDialog( wxWindow *parent, wxFontData *data = (wxFontData *) NULL ); | |
39 | ~wxFontDialog(); | |
40 | ||
41 | wxFontData& GetFontData() { return m_fontData; } | |
42 | ||
43 | //protected: | |
44 | wxFontData m_fontData; | |
45 | ||
46 | private: | |
47 | DECLARE_DYNAMIC_CLASS(wxFontDialog) | |
48 | }; | |
49 | ||
50 | #endif |