]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/motif/fontdlg.h
A few tweaks and cleanups
[wxWidgets.git] / include / wx / motif / fontdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.h
3// Purpose: wxFontDialog class. Use generic version if no
4// platform-specific implementation.
5// Author: Julian Smart
6// Modified by:
7// Created: 17/09/98
8// RCS-ID: $Id$
9// Copyright: (c) Julian Smart
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_FONTDLG_H_
14#define _WX_FONTDLG_H_
15
16#ifdef __GNUG__
17#pragma interface "fontdlg.h"
18#endif
19
20#include "wx/dialog.h"
21#include "wx/cmndata.h"
22
23/*
24* Font dialog
25*/
26
27class WXDLLEXPORT wxFontDialog: public wxDialog
28{
29 DECLARE_DYNAMIC_CLASS(wxFontDialog)
30public:
31 wxFontDialog();
32 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
33
34 bool Create(wxWindow *parent, wxFontData *data = NULL);
35
36 int ShowModal();
37 wxFontData& GetFontData() { return m_fontData; }
38
39protected:
40 wxWindow* m_dialogParent;
41 wxFontData m_fontData;
42};
43
44#endif
45// _WX_FONTDLG_H_
46