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: wxFontDialog()20 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ } wxFontDialog(wxWindow * parent)21 wxFontDialog(wxWindow *parent) 22 : wxFontDialogBase(parent) { Create(parent); } wxFontDialog(wxWindow * parent,const wxFontData & data)23 wxFontDialog(wxWindow *parent, const wxFontData& data) 24 : wxFontDialogBase(parent, data) { Create(parent, data); } 25 26 virtual ~wxFontDialog(); 27 28 protected: 29 // create the GTK dialog 30 virtual bool DoCreate(wxWindow *parent) wxOVERRIDE; 31 32 wxDECLARE_DYNAMIC_CLASS(wxFontDialog); 33 }; 34 35 #endif 36