]>
Commit | Line | Data |
---|---|---|
6dfaa4e5 RR |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: fontdlgg.h | |
3 | // Purpose: wxFontDialog | |
4 | // Author: Robert Roebling | |
7beba2fc | 5 | // Created: |
6dfaa4e5 RR |
6 | // RCS-ID: $Id$ |
7 | // Copyright: (c) Robert Roebling | |
65571936 | 8 | // Licence: wxWindows licence |
6dfaa4e5 RR |
9 | ///////////////////////////////////////////////////////////////////////////// |
10 | ||
11 | #ifndef __GTK_FONTDLGH__ | |
12 | #define __GTK_FONTDLGH__ | |
13 | ||
6dfaa4e5 RR |
14 | //----------------------------------------------------------------------------- |
15 | // wxFontDialog | |
16 | //----------------------------------------------------------------------------- | |
17 | ||
20123d49 | 18 | class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase |
6dfaa4e5 RR |
19 | { |
20 | public: | |
dbc65e27 VZ |
21 | wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ } |
22 | wxFontDialog(wxWindow *parent) | |
23 | : wxFontDialogBase(parent) { Create(parent); } | |
24 | wxFontDialog(wxWindow *parent, const wxFontData& data) | |
25 | : wxFontDialogBase(parent, data) { Create(parent, data); } | |
26 | ||
27 | virtual ~wxFontDialog(); | |
28 | ||
29 | // implementation only | |
30 | void SetChosenFont(const char *name); | |
6dfaa4e5 | 31 | |
dbc65e27 VZ |
32 | // deprecated interface, don't use |
33 | wxFontDialog(wxWindow *parent, const wxFontData *data) | |
34 | : wxFontDialogBase(parent, data) { Create(parent, data); } | |
6dfaa4e5 | 35 | |
dbc65e27 VZ |
36 | protected: |
37 | // create the GTK dialog | |
38 | virtual bool DoCreate(wxWindow *parent); | |
6dfaa4e5 RR |
39 | |
40 | private: | |
41 | DECLARE_DYNAMIC_CLASS(wxFontDialog) | |
42 | }; | |
43 | ||
44 | #endif |