]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/fontdlg.h
moved the rest of XPMs to /art
[wxWidgets.git] / include / wx / motif / fontdlg.h
CommitLineData
9b6dbb09
JS
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/*
83df96d6
JS
24* Font dialog
25*/
26
9b6dbb09
JS
27class WXDLLEXPORT wxFontDialog: public wxDialog
28{
83df96d6 29 DECLARE_DYNAMIC_CLASS(wxFontDialog)
9b6dbb09
JS
30public:
31 wxFontDialog();
32 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
83df96d6 33
9b6dbb09 34 bool Create(wxWindow *parent, wxFontData *data = NULL);
83df96d6 35
9b6dbb09
JS
36 int ShowModal();
37 wxFontData& GetFontData() { return m_fontData; }
83df96d6 38
9b6dbb09
JS
39protected:
40 wxWindow* m_dialogParent;
41 wxFontData m_fontData;
42};
43
44#endif
83df96d6 45// _WX_FONTDLG_H_
9b6dbb09 46