]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/fontdlg.h
Warning fixes after char->wxChar in wxVariant.
[wxWidgets.git] / include / wx / os2 / fontdlg.h
CommitLineData
0e320a79 1/////////////////////////////////////////////////////////////////////////////
ca3e85cf 2// Name: wx/os2/fontdlg.h
0e320a79
DW
3// Purpose: wxFontDialog class. Use generic version if no
4// platform-specific implementation.
21802234 5// Author: David Webster
0e320a79 6// Modified by:
21802234 7// Created: 10/06/99
0e320a79 8// RCS-ID: $Id$
21802234 9// Copyright: (c) David Webster
65571936 10// Licence: wxWindows licence
0e320a79
DW
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_FONTDLG_H_
14#define _WX_FONTDLG_H_
15
0e320a79
DW
16#include "wx/dialog.h"
17#include "wx/cmndata.h"
18
19/*
20 * Font dialog
21 */
21802234 22
72b4f026 23class WXDLLEXPORT wxFontDialog: public wxFontDialogBase
0e320a79 24{
0e320a79 25public:
07df68c8
DW
26 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
27 wxFontDialog (wxWindow* pParent) : wxFontDialogBase(pParent) { Create(pParent); }
28 wxFontDialog( wxWindow* pParent
29 ,const wxFontData& rData
30 )
31 : wxFontDialogBase( pParent
32 ,rData
33 )
34 {
35 Create( pParent
36 ,rData
37 );
38 }
39
40 virtual int ShowModal();
41
ca3e85cf 42#if WXWIN_COMPATIBILITY_2_6
07df68c8
DW
43 //
44 // Deprecated interface, don't use
45 //
ca3e85cf
WS
46 wxDEPRECATED( wxFontDialog( wxWindow* pParent, const wxFontData* pData ) );
47#endif // WXWIN_COMPATIBILITY_2_6
48
07df68c8
DW
49protected:
50 DECLARE_DYNAMIC_CLASS(wxFontDialog)
51}; // end of CLASS wxFontDialog
0e320a79 52
ca3e85cf
WS
53#if WXWIN_COMPATIBILITY_2_6
54 // deprecated interface, don't use
55inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
56 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
57#endif // WXWIN_COMPATIBILITY_2_6
58
0e320a79
DW
59#endif
60 // _WX_FONTDLG_H_