1999-07-29 01:11:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-03-30 09:04:17 -05:00
|
|
|
// Name: wx/os2/fontdlg.h
|
1999-07-29 01:11:30 -04:00
|
|
|
// 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();
|
|
|
|
|
2006-03-30 09:04:17 -05:00
|
|
|
#if WXWIN_COMPATIBILITY_2_6
|
2002-08-11 19:47:44 -04:00
|
|
|
//
|
|
|
|
// Deprecated interface, don't use
|
|
|
|
//
|
2006-03-30 09:04:17 -05:00
|
|
|
wxDEPRECATED( wxFontDialog( wxWindow* pParent, const wxFontData* pData ) );
|
|
|
|
#endif // WXWIN_COMPATIBILITY_2_6
|
|
|
|
|
2002-08-11 19:47:44 -04:00
|
|
|
protected:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
|
|
|
}; // end of CLASS wxFontDialog
|
1999-07-29 01:11:30 -04:00
|
|
|
|
2006-03-30 09:04:17 -05: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 01:11:30 -04:00
|
|
|
#endif
|
|
|
|
// _WX_FONTDLG_H_
|