1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/fontdlg.h
3 // Purpose: wxFontDialog
4 // Author: Robert Roebling
7 // Copyright: (c) Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GTK_FONTDLG_H_
12 #define _WX_GTK_FONTDLG_H_
14 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxFontDialog
: public wxFontDialogBase
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
); }
27 virtual ~wxFontDialog();
29 #if WXWIN_COMPATIBILITY_2_6
30 // deprecated interface, don't use
31 wxDEPRECATED( wxFontDialog(wxWindow
*parent
, const wxFontData
*data
) );
32 #endif // WXWIN_COMPATIBILITY_2_6
35 // create the GTK dialog
36 virtual bool DoCreate(wxWindow
*parent
);
38 DECLARE_DYNAMIC_CLASS(wxFontDialog
)
41 #if WXWIN_COMPATIBILITY_2_6
42 // deprecated interface, don't use
43 inline wxFontDialog::wxFontDialog(wxWindow
*parent
, const wxFontData
*data
)
44 : wxFontDialogBase(parent
) { InitFontData(data
); Create(parent
); }
45 #endif // WXWIN_COMPATIBILITY_2_6