]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/fontdlg.h
Removal of previous wxValidtor code for wxOS2
[wxWidgets.git] / include / wx / msw / fontdlg.h
CommitLineData
2bda0e17
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.h
3// Purpose: wxFontDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
11c7d5b6 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
11c7d5b6
VZ
12#ifndef _WX_MSW_FONTDLG_H_
13#define _WX_MSW_FONTDLG_H_
2bda0e17
KB
14
15#ifdef __GNUG__
11c7d5b6 16 #pragma interface "fontdlg.h"
2bda0e17
KB
17#endif
18
19#include "wx/dialog.h"
20#include "wx/cmndata.h"
21
11c7d5b6
VZ
22// ----------------------------------------------------------------------------
23// wxFontDialog
24// ----------------------------------------------------------------------------
bbcdf8bc 25
11c7d5b6
VZ
26class WXDLLEXPORT wxFontDialog : public wxDialog
27{
bbcdf8bc 28public:
11c7d5b6 29 wxFontDialog();
bbcdf8bc
JS
30 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
31
32 bool Create(wxWindow *parent, wxFontData *data = NULL);
33
11c7d5b6
VZ
34 virtual int ShowModal();
35
36 wxFontData& GetFontData() { return m_fontData; }
bbcdf8bc
JS
37
38protected:
bbcdf8bc 39 wxFontData m_fontData;
11c7d5b6
VZ
40
41 DECLARE_DYNAMIC_CLASS(wxFontDialog)
2bda0e17
KB
42};
43
44#endif
11c7d5b6 45 // _WX_MSW_FONTDLG_H_
2bda0e17 46