]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/fontdlg.h
Fixes so joystick not only compiles on Linux, but it actually works too!
[wxWidgets.git] / include / wx / gtk / fontdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlgg.h
3// Purpose: wxFontDialog
4// Author: Robert Roebling
5// Created:
6// RCS-ID: $Id$
7// Copyright: (c) Robert Roebling
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef __GTK_FONTDLGH__
12#define __GTK_FONTDLGH__
13
14#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15#pragma interface "fontdlg.h"
16#endif
17
18//-----------------------------------------------------------------------------
19// wxFontDialog
20//-----------------------------------------------------------------------------
21
22class wxFontDialog : public wxFontDialogBase
23{
24public:
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);
35
36 // deprecated interface, don't use
37 wxFontDialog(wxWindow *parent, const wxFontData *data)
38 : wxFontDialogBase(parent, data) { Create(parent, data); }
39
40protected:
41 // create the GTK dialog
42 virtual bool DoCreate(wxWindow *parent);
43
44private:
45 DECLARE_DYNAMIC_CLASS(wxFontDialog)
46};
47
48#endif