1999-08-24 16:30:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-01-22 21:28:01 -05:00
|
|
|
// Name: wx/gtk1/fontdlgg.h
|
1999-08-24 16:30:10 -04:00
|
|
|
// Purpose: wxFontDialog
|
|
|
|
// Author: Robert Roebling
|
1999-11-05 14:03:19 -05:00
|
|
|
// Created:
|
1999-08-24 16:30:10 -04:00
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Robert Roebling
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1999-08-24 16:30:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTK_FONTDLGH__
|
|
|
|
#define __GTK_FONTDLGH__
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxFontDialog
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2005-08-02 18:58:06 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
|
1999-08-24 16:30:10 -04:00
|
|
|
{
|
|
|
|
public:
|
2002-05-12 15:35:33 -04:00
|
|
|
wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
|
|
|
|
wxFontDialog(wxWindow *parent)
|
|
|
|
: wxFontDialogBase(parent) { Create(parent); }
|
|
|
|
wxFontDialog(wxWindow *parent, const wxFontData& data)
|
|
|
|
: wxFontDialogBase(parent, data) { Create(parent, data); }
|
|
|
|
|
|
|
|
virtual ~wxFontDialog();
|
|
|
|
|
|
|
|
// implementation only
|
|
|
|
void SetChosenFont(const char *name);
|
1999-08-24 16:30:10 -04:00
|
|
|
|
2002-05-12 15:35:33 -04:00
|
|
|
// deprecated interface, don't use
|
|
|
|
wxFontDialog(wxWindow *parent, const wxFontData *data)
|
|
|
|
: wxFontDialogBase(parent, data) { Create(parent, data); }
|
1999-08-24 16:30:10 -04:00
|
|
|
|
2002-05-12 15:35:33 -04:00
|
|
|
protected:
|
|
|
|
// create the GTK dialog
|
|
|
|
virtual bool DoCreate(wxWindow *parent);
|
1999-08-24 16:30:10 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|