]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/fontdlg.h
activating DrawRectangle optimization
[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 16#include "wx/dialog.h"
0e320a79
DW
17
18/*
19 * Font dialog
20 */
21802234 21
53a2db12 22class WXDLLIMPEXP_CORE wxFontDialog: public wxFontDialogBase
0e320a79 23{
0e320a79 24public:
07df68c8
DW
25 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
26 wxFontDialog (wxWindow* pParent) : wxFontDialogBase(pParent) { Create(pParent); }
27 wxFontDialog( wxWindow* pParent
28 ,const wxFontData& rData
29 )
30 : wxFontDialogBase( pParent
31 ,rData
32 )
33 {
34 Create( pParent
35 ,rData
36 );
37 }
38
39 virtual int ShowModal();
40
ca3e85cf 41#if WXWIN_COMPATIBILITY_2_6
07df68c8
DW
42 //
43 // Deprecated interface, don't use
44 //
ca3e85cf
WS
45 wxDEPRECATED( wxFontDialog( wxWindow* pParent, const wxFontData* pData ) );
46#endif // WXWIN_COMPATIBILITY_2_6
47
07df68c8
DW
48protected:
49 DECLARE_DYNAMIC_CLASS(wxFontDialog)
50}; // end of CLASS wxFontDialog
0e320a79 51
ca3e85cf
WS
52#if WXWIN_COMPATIBILITY_2_6
53 // deprecated interface, don't use
54inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
55 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
56#endif // WXWIN_COMPATIBILITY_2_6
57
0e320a79
DW
58#endif
59 // _WX_FONTDLG_H_