]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxFontDialog
4 // Author: Robert Roebling
7 // Copyright: (c) Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTK_FONTDLGH__
12 #define __GTK_FONTDLGH__
15 #pragma interface "fontdlg.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class wxFontDialog
: public wxFontDialogBase
25 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
26 wxFontDialog(wxWindow
*parent
)
27 : wxFontDialogBase(parent
) { Create(parent
); }
28 wxFontDialog(wxWindow
*parent
, const wxFontData
& data
)
29 : wxFontDialogBase(parent
, data
) { Create(parent
, data
); }
31 virtual ~wxFontDialog();
33 // implementation only
34 void SetChosenFont(const char *name
);
36 // deprecated interface, don't use
37 wxFontDialog(wxWindow
*parent
, const wxFontData
*data
)
38 : wxFontDialogBase(parent
, data
) { Create(parent
, data
); }
41 // create the GTK dialog
42 virtual bool DoCreate(wxWindow
*parent
);
45 DECLARE_DYNAMIC_CLASS(wxFontDialog
)