1999-07-29 01:11:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fontdlg.h
|
|
|
|
// Purpose: wxFontDialog class. Use generic version if no
|
|
|
|
// platform-specific implementation.
|
1999-10-07 00:44:22 -04:00
|
|
|
// Author: David Webster
|
1999-07-29 01:11:30 -04:00
|
|
|
// Modified by:
|
1999-10-07 00:44:22 -04:00
|
|
|
// Created: 10/06/99
|
1999-07-29 01:11:30 -04:00
|
|
|
// RCS-ID: $Id$
|
1999-10-07 00:44:22 -04:00
|
|
|
// Copyright: (c) David Webster
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1999-07-29 01:11:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_FONTDLG_H_
|
|
|
|
#define _WX_FONTDLG_H_
|
|
|
|
|
|
|
|
#include "wx/dialog.h"
|
|
|
|
#include "wx/cmndata.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Font dialog
|
|
|
|
*/
|
1999-10-07 00:44:22 -04:00
|
|
|
|
2002-05-21 00:19:47 -04:00
|
|
|
class WXDLLEXPORT wxFontDialog: public wxFontDialogBase
|
1999-07-29 01:11:30 -04:00
|
|
|
{
|
|
|
|
public:
|
2002-08-11 19:47:44 -04:00
|
|
|
wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
|
|
|
|
wxFontDialog (wxWindow* pParent) : wxFontDialogBase(pParent) { Create(pParent); }
|
|
|
|
wxFontDialog( wxWindow* pParent
|
|
|
|
,const wxFontData& rData
|
|
|
|
)
|
|
|
|
: wxFontDialogBase( pParent
|
|
|
|
,rData
|
|
|
|
)
|
|
|
|
{
|
|
|
|
Create( pParent
|
|
|
|
,rData
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual int ShowModal();
|
|
|
|
|
|
|
|
//
|
|
|
|
// Deprecated interface, don't use
|
|
|
|
//
|
|
|
|
wxFontDialog( wxWindow* pParent
|
|
|
|
,const wxFontData* pData
|
|
|
|
)
|
|
|
|
: wxFontDialogBase( pParent
|
|
|
|
,pData
|
|
|
|
)
|
|
|
|
{
|
|
|
|
Create( pParent
|
|
|
|
,pData
|
|
|
|
);
|
|
|
|
}
|
|
|
|
protected:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
|
|
|
}; // end of CLASS wxFontDialog
|
1999-07-29 01:11:30 -04:00
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_FONTDLG_H_
|
|
|
|
|