]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/fontdlg.h
missing const added (patch 1295036)
[wxWidgets.git] / include / wx / mac / carbon / fontdlg.h
CommitLineData
8cf73271
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: fontdlg.h
72fcdc75
RN
3// Purpose: wxFontDialog class using fonts window services (10.2+).
4// Author: Ryan Norton
8cf73271 5// Modified by:
72fcdc75 6// Created: 2004-09-25
8cf73271 7// RCS-ID: $Id$
72fcdc75 8// Copyright: (c) Ryan Norton
65571936 9// Licence: wxWindows licence
8cf73271
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_FONTDLG_H_
13#define _WX_FONTDLG_H_
14
8cf73271
SC
15#include "wx/dialog.h"
16#include "wx/cmndata.h"
17
18/*
19 * Font dialog
20 */
21
22class WXDLLEXPORT wxFontDialog: public wxDialog
23{
24DECLARE_DYNAMIC_CLASS(wxFontDialog)
72fcdc75 25
8cf73271
SC
26public:
27 wxFontDialog();
28 wxFontDialog(wxWindow *parent, const wxFontData& data);
72fcdc75 29 ~wxFontDialog();
8cf73271
SC
30
31 bool Create(wxWindow *parent, const wxFontData& data);
32
33 int ShowModal();
34 wxFontData& GetFontData() { return m_fontData; }
72fcdc75
RN
35 bool IsShown() const;
36 void OnPanelClose();
37 void SetData(wxFontData& data);
8cf73271
SC
38
39protected:
40 wxWindow* m_dialogParent;
41 wxFontData m_fontData;
72fcdc75 42 void* m_pEventHandlerRef;
8cf73271
SC
43};
44
45#endif
46 // _WX_FONTDLG_H_
47