1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fontdlg.h
|
|
|
|
// Purpose: wxFontDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 23:52:45 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
1999-11-06 00:43:31 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1999-11-06 00:43:31 +00:00
|
|
|
#ifndef _WX_MSW_FONTDLG_H_
|
|
|
|
#define _WX_MSW_FONTDLG_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
1999-11-06 00:43:31 +00:00
|
|
|
#pragma interface "fontdlg.h"
|
1998-05-20 14:12:05 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dialog.h"
|
|
|
|
#include "wx/cmndata.h"
|
|
|
|
|
1999-11-06 00:43:31 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxFontDialog
|
|
|
|
// ----------------------------------------------------------------------------
|
1998-08-07 23:52:45 +00:00
|
|
|
|
1999-11-06 00:43:31 +00:00
|
|
|
class WXDLLEXPORT wxFontDialog : public wxDialog
|
|
|
|
{
|
1998-08-07 23:52:45 +00:00
|
|
|
public:
|
1999-11-06 00:43:31 +00:00
|
|
|
wxFontDialog();
|
1998-08-07 23:52:45 +00:00
|
|
|
wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
|
|
|
|
|
|
|
|
bool Create(wxWindow *parent, wxFontData *data = NULL);
|
|
|
|
|
1999-11-06 00:43:31 +00:00
|
|
|
virtual int ShowModal();
|
|
|
|
|
|
|
|
wxFontData& GetFontData() { return m_fontData; }
|
1998-08-07 23:52:45 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
wxFontData m_fontData;
|
1999-11-06 00:43:31 +00:00
|
|
|
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
1998-05-20 14:12:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1999-11-06 00:43:31 +00:00
|
|
|
// _WX_MSW_FONTDLG_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|