]> git.saurik.com Git - wxWidgets.git/blame - include/wx/stubs/fontdlg.h
WXFARPROC prototyped as `typedef int (__stdcall *WXFARPROC)()' (does Borland
[wxWidgets.git] / include / wx / stubs / fontdlg.h
CommitLineData
7c23a0b0
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.h
3// Purpose: wxFontDialog class
4// Author: AUTHOR
5// Modified by:
6// Created: ??/??/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_FONTDLG_H_
13#define _WX_FONTDLG_H_
14
15#ifdef __GNUG__
16#pragma interface "fontdlg.h"
17#endif
18
19#include "wx/dialog.h"
20#include "wx/cmndata.h"
21
22/*
23 * Font dialog
24 */
25
26class WXDLLEXPORT wxFontDialog: public wxDialog
27{
28DECLARE_DYNAMIC_CLASS(wxFontDialog)
29public:
30 wxFontDialog();
31 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
32
33 bool Create(wxWindow *parent, wxFontData *data = NULL);
34
35 int ShowModal();
36 wxFontData& GetFontData() { return m_fontData; }
37
38protected:
39 wxWindow* m_dialogParent;
40 wxFontData m_fontData;
41};
42
43#endif
44 // _WX_FONTDLG_H_
45