1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-03-30 14:04:17 +00:00
|
|
|
// Name: wx/os2/fontdlg.h
|
1999-07-29 05:11:30 +00:00
|
|
|
// Purpose: wxFontDialog class. Use generic version if no
|
|
|
|
// platform-specific implementation.
|
1999-10-07 04:44:22 +00:00
|
|
|
// Author: David Webster
|
1999-07-29 05:11:30 +00:00
|
|
|
// Modified by:
|
1999-10-07 04:44:22 +00:00
|
|
|
// Created: 10/06/99
|
1999-07-29 05:11:30 +00:00
|
|
|
// RCS-ID: $Id$
|
1999-10-07 04:44:22 +00:00
|
|
|
// Copyright: (c) David Webster
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_FONTDLG_H_
|
|
|
|
#define _WX_FONTDLG_H_
|
|
|
|
|
|
|
|
#include "wx/dialog.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Font dialog
|
|
|
|
*/
|
1999-10-07 04:44:22 +00:00
|
|
|
|
2008-03-26 15:06:00 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxFontDialog: public wxFontDialogBase
|
1999-07-29 05:11:30 +00:00
|
|
|
{
|
|
|
|
public:
|
2002-08-11 23:47:44 +00: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();
|
|
|
|
|
2006-03-30 14:04:17 +00:00
|
|
|
#if WXWIN_COMPATIBILITY_2_6
|
2002-08-11 23:47:44 +00:00
|
|
|
//
|
|
|
|
// Deprecated interface, don't use
|
|
|
|
//
|
2006-03-30 14:04:17 +00:00
|
|
|
wxDEPRECATED( wxFontDialog( wxWindow* pParent, const wxFontData* pData ) );
|
|
|
|
#endif // WXWIN_COMPATIBILITY_2_6
|
|
|
|
|
2002-08-11 23:47:44 +00:00
|
|
|
protected:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
|
|
|
}; // end of CLASS wxFontDialog
|
1999-07-29 05:11:30 +00:00
|
|
|
|
2006-03-30 14:04:17 +00:00
|
|
|
#if WXWIN_COMPATIBILITY_2_6
|
|
|
|
// deprecated interface, don't use
|
|
|
|
inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
|
|
|
|
: wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
|
|
|
|
#endif // WXWIN_COMPATIBILITY_2_6
|
|
|
|
|
1999-07-29 05:11:30 +00:00
|
|
|
#endif
|
|
|
|
// _WX_FONTDLG_H_
|