]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/fontdlg.h
Handle WebKitWebView create-web-view.
[wxWidgets.git] / include / wx / gtk / fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/fontdlg.h
3 // Purpose: wxFontDialog
4 // Author: Robert Roebling
5 // Created:
6 // Copyright: (c) Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_GTK_FONTDLG_H_
11 #define _WX_GTK_FONTDLG_H_
12
13 //-----------------------------------------------------------------------------
14 // wxFontDialog
15 //-----------------------------------------------------------------------------
16
17 class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
18 {
19 public:
20 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
21 wxFontDialog(wxWindow *parent)
22 : wxFontDialogBase(parent) { Create(parent); }
23 wxFontDialog(wxWindow *parent, const wxFontData& data)
24 : wxFontDialogBase(parent, data) { Create(parent, data); }
25
26 virtual ~wxFontDialog();
27
28 #if WXWIN_COMPATIBILITY_2_6
29 // deprecated interface, don't use
30 wxDEPRECATED( wxFontDialog(wxWindow *parent, const wxFontData *data) );
31 #endif // WXWIN_COMPATIBILITY_2_6
32
33 protected:
34 // create the GTK dialog
35 virtual bool DoCreate(wxWindow *parent);
36
37 DECLARE_DYNAMIC_CLASS(wxFontDialog)
38 };
39
40 #if WXWIN_COMPATIBILITY_2_6
41 // deprecated interface, don't use
42 inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
43 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
44 #endif // WXWIN_COMPATIBILITY_2_6
45
46 #endif