1999-08-24 16:30:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fontdlgg.h
|
|
|
|
// 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
|
1999-11-05 14:03:19 -05:00
|
|
|
// Licence: wxWindows licence
|
1999-08-24 16:30:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTK_FONTDLGH__
|
|
|
|
#define __GTK_FONTDLGH__
|
|
|
|
|
2002-09-07 08:28:46 -04:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
1999-08-24 16:30:10 -04:00
|
|
|
#pragma interface "fontdlg.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxFontDialog
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2002-05-12 15:35:33 -04:00
|
|
|
class 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
|