]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/fontdlg.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / msw / fontdlg.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
ca3e85cf 2// Name: wx/msw/fontdlg.h
2bda0e17
KB
3// Purpose: wxFontDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
11c7d5b6
VZ
12#ifndef _WX_MSW_FONTDLG_H_
13#define _WX_MSW_FONTDLG_H_
2bda0e17 14
11c7d5b6
VZ
15// ----------------------------------------------------------------------------
16// wxFontDialog
17// ----------------------------------------------------------------------------
bbcdf8bc 18
53a2db12 19class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
11c7d5b6 20{
bbcdf8bc 21public:
3fde374f
VZ
22 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
23 wxFontDialog(wxWindow *parent)
24 : wxFontDialogBase(parent) { Create(parent); }
dbc65e27 25 wxFontDialog(wxWindow *parent, const wxFontData& data)
3fde374f 26 : wxFontDialogBase(parent, data) { Create(parent, data); }
bbcdf8bc 27
11c7d5b6
VZ
28 virtual int ShowModal();
29
ca3e85cf 30#if WXWIN_COMPATIBILITY_2_6
3fde374f 31 // deprecated interface, don't use
ca3e85cf
WS
32 wxDEPRECATED( wxFontDialog(wxWindow *parent, const wxFontData *data) );
33#endif // WXWIN_COMPATIBILITY_2_6
bbcdf8bc
JS
34
35protected:
fc7a2a60 36 DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog)
2bda0e17
KB
37};
38
ca3e85cf
WS
39#if WXWIN_COMPATIBILITY_2_6
40 // deprecated interface, don't use
41inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
42 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
43#endif // WXWIN_COMPATIBILITY_2_6
44
2bda0e17 45#endif
11c7d5b6 46 // _WX_MSW_FONTDLG_H_