1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-03-30 09:04:17 -05:00
|
|
|
// Name: wx/msw/fontdlg.h
|
1998-05-20 10:12:05 -04:00
|
|
|
// Purpose: wxFontDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 19:52:45 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1999-11-05 19:43:31 -05:00
|
|
|
#ifndef _WX_MSW_FONTDLG_H_
|
|
|
|
#define _WX_MSW_FONTDLG_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
1999-11-05 19:43:31 -05:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxFontDialog
|
|
|
|
// ----------------------------------------------------------------------------
|
1998-08-07 19:52:45 -04:00
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
|
1999-11-05 19:43:31 -05:00
|
|
|
{
|
1998-08-07 19:52:45 -04:00
|
|
|
public:
|
2002-05-12 18:26:01 -04:00
|
|
|
wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
|
|
|
|
wxFontDialog(wxWindow *parent)
|
|
|
|
: wxFontDialogBase(parent) { Create(parent); }
|
2002-05-12 15:35:33 -04:00
|
|
|
wxFontDialog(wxWindow *parent, const wxFontData& data)
|
2002-05-12 18:26:01 -04:00
|
|
|
: wxFontDialogBase(parent, data) { Create(parent, data); }
|
1998-08-07 19:52:45 -04:00
|
|
|
|
1999-11-05 19:43:31 -05:00
|
|
|
virtual int ShowModal();
|
|
|
|
|
2006-03-30 09:04:17 -05:00
|
|
|
#if WXWIN_COMPATIBILITY_2_6
|
2002-05-12 18:26:01 -04:00
|
|
|
// deprecated interface, don't use
|
2006-03-30 09:04:17 -05:00
|
|
|
wxDEPRECATED( wxFontDialog(wxWindow *parent, const wxFontData *data) );
|
|
|
|
#endif // WXWIN_COMPATIBILITY_2_6
|
1998-08-07 19:52:45 -04:00
|
|
|
|
|
|
|
protected:
|
2003-07-21 20:24:07 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog)
|
1998-05-20 10:12:05 -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
|
|
|
|
|
1998-05-20 10:12:05 -04:00
|
|
|
#endif
|
1999-11-05 19:43:31 -05:00
|
|
|
// _WX_MSW_FONTDLG_H_
|