]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/fontdlg.h
Temporary fix for link error to ~wxZipOutputStream()
[wxWidgets.git] / include / wx / gtk / fontdlg.h
CommitLineData
6dfaa4e5
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlgg.h
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
11#ifndef __GTK_FONTDLGH__
12#define __GTK_FONTDLGH__
13
12028905 14#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
6dfaa4e5
RR
15#pragma interface "fontdlg.h"
16#endif
17
6dfaa4e5
RR
18//-----------------------------------------------------------------------------
19// wxFontDialog
20//-----------------------------------------------------------------------------
21
dbc65e27 22class wxFontDialog : public wxFontDialogBase
6dfaa4e5
RR
23{
24public:
dbc65e27
VZ
25 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
26 wxFontDialog(wxWindow *parent)
27 : wxFontDialogBase(parent) { Create(parent); }
28 wxFontDialog(wxWindow *parent, const wxFontData& data)
29 : wxFontDialogBase(parent, data) { Create(parent, data); }
30
31 virtual ~wxFontDialog();
32
33 // implementation only
34 void SetChosenFont(const char *name);
6dfaa4e5 35
dbc65e27
VZ
36 // deprecated interface, don't use
37 wxFontDialog(wxWindow *parent, const wxFontData *data)
38 : wxFontDialogBase(parent, data) { Create(parent, data); }
6dfaa4e5 39
dbc65e27
VZ
40protected:
41 // create the GTK dialog
42 virtual bool DoCreate(wxWindow *parent);
6dfaa4e5
RR
43
44private:
45 DECLARE_DYNAMIC_CLASS(wxFontDialog)
46};
47
48#endif