1999-08-24 20:30:10 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fontdlgg.h
|
|
|
|
// Purpose: wxFontDialog
|
|
|
|
// Author: Robert Roebling
|
1999-11-05 19:03:19 +00:00
|
|
|
// Created:
|
1999-08-24 20:30:10 +00:00
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Robert Roebling
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-08-24 20:30:10 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTK_FONTDLGH__
|
|
|
|
#define __GTK_FONTDLGH__
|
|
|
|
|
2003-08-09 12:38:21 +00:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
1999-08-24 20:30:10 +00:00
|
|
|
#pragma interface "fontdlg.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxFontDialog
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2002-05-12 19:35:33 +00:00
|
|
|
class wxFontDialog : public wxFontDialogBase
|
1999-08-24 20:30:10 +00:00
|
|
|
{
|
|
|
|
public:
|
2002-05-12 19:35:33 +00: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 20:30:10 +00:00
|
|
|
|
2002-05-12 19:35:33 +00:00
|
|
|
// deprecated interface, don't use
|
|
|
|
wxFontDialog(wxWindow *parent, const wxFontData *data)
|
|
|
|
: wxFontDialogBase(parent, data) { Create(parent, data); }
|
1999-08-24 20:30:10 +00:00
|
|
|
|
2002-05-12 19:35:33 +00:00
|
|
|
protected:
|
|
|
|
// create the GTK dialog
|
|
|
|
virtual bool DoCreate(wxWindow *parent);
|
1999-08-24 20:30:10 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|