]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/mac/classic/fontdlg.h
miscellaneous wxFont enhancements (patch 1496606):
[wxWidgets.git] / include / wx / mac / classic / fontdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.h
3// Purpose: wxFontDialog class. Use generic version if no
4// platform-specific implementation.
5// Author: Stefan Csomor
6// Modified by:
7// Created: 1998-01-01
8// RCS-ID: $Id$
9// Copyright: (c) Stefan Csomor
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_FONTDLG_H_
14#define _WX_FONTDLG_H_
15
16#include "wx/dialog.h"
17#include "wx/cmndata.h"
18
19/*
20 * Font dialog
21 */
22
23class WXDLLEXPORT wxFontDialog: public wxDialog
24{
25DECLARE_DYNAMIC_CLASS(wxFontDialog)
26public:
27 wxFontDialog();
28 wxFontDialog(wxWindow *parent, const wxFontData& data);
29
30 bool Create(wxWindow *parent, const wxFontData& data);
31
32 int ShowModal();
33 wxFontData& GetFontData() { return m_fontData; }
34
35protected:
36 wxWindow* m_dialogParent;
37 wxFontData m_fontData;
38};
39
40#endif
41 // _WX_FONTDLG_H_
42