1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/fontdlg.h
3 // Purpose: wxFontDialog
4 // Author: Robert Roebling
6 // Copyright: (c) Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_FONTDLG_H_
11 #define _WX_GTK_FONTDLG_H_
13 //-----------------------------------------------------------------------------
15 //-----------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxFontDialog
: public wxFontDialogBase
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
); }
26 virtual ~wxFontDialog();
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
34 // create the GTK dialog
35 virtual bool DoCreate(wxWindow
*parent
);
37 DECLARE_DYNAMIC_CLASS(wxFontDialog
)
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