]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/fontdlg.h
Document wxKill(wxSIGTERM) reliance on having an open window in wxMSW.
[wxWidgets.git] / include / wx / gtk / fontdlg.h
CommitLineData
6dfaa4e5 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/gtk/fontdlg.h
6dfaa4e5
RR
3// Purpose: wxFontDialog
4// Author: Robert Roebling
7beba2fc 5// Created:
6dfaa4e5
RR
6// RCS-ID: $Id$
7// Copyright: (c) Robert Roebling
65571936 8// Licence: wxWindows licence
6dfaa4e5
RR
9/////////////////////////////////////////////////////////////////////////////
10
dddda0eb
PC
11#ifndef _WX_GTK_FONTDLG_H_
12#define _WX_GTK_FONTDLG_H_
6dfaa4e5 13
6dfaa4e5
RR
14//-----------------------------------------------------------------------------
15// wxFontDialog
16//-----------------------------------------------------------------------------
17
20123d49 18class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
6dfaa4e5
RR
19{
20public:
dbc65e27
VZ
21 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
22 wxFontDialog(wxWindow *parent)
23 : wxFontDialogBase(parent) { Create(parent); }
24 wxFontDialog(wxWindow *parent, const wxFontData& data)
25 : wxFontDialogBase(parent, data) { Create(parent, data); }
26
27 virtual ~wxFontDialog();
28
ca3e85cf 29#if WXWIN_COMPATIBILITY_2_6
dbc65e27 30 // deprecated interface, don't use
ca3e85cf
WS
31 wxDEPRECATED( wxFontDialog(wxWindow *parent, const wxFontData *data) );
32#endif // WXWIN_COMPATIBILITY_2_6
6dfaa4e5 33
dbc65e27
VZ
34protected:
35 // create the GTK dialog
36 virtual bool DoCreate(wxWindow *parent);
6dfaa4e5 37
6dfaa4e5
RR
38 DECLARE_DYNAMIC_CLASS(wxFontDialog)
39};
40
ca3e85cf
WS
41#if WXWIN_COMPATIBILITY_2_6
42 // deprecated interface, don't use
43inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
44 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
45#endif // WXWIN_COMPATIBILITY_2_6
46
6dfaa4e5 47#endif