]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/fontdlg.h
do #undef CreateDialog() under CE, what was the reason for not doing it?
[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 14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
11c7d5b6 16 #pragma interface "fontdlg.h"
2bda0e17
KB
17#endif
18
11c7d5b6
VZ
19// ----------------------------------------------------------------------------
20// wxFontDialog
21// ----------------------------------------------------------------------------
bbcdf8bc 22
dbc65e27 23class WXDLLEXPORT wxFontDialog : public wxFontDialogBase
11c7d5b6 24{
bbcdf8bc 25public:
3fde374f
VZ
26 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
27 wxFontDialog(wxWindow *parent)
28 : wxFontDialogBase(parent) { Create(parent); }
dbc65e27 29 wxFontDialog(wxWindow *parent, const wxFontData& data)
3fde374f 30 : wxFontDialogBase(parent, data) { Create(parent, data); }
bbcdf8bc 31
11c7d5b6
VZ
32 virtual int ShowModal();
33
3fde374f
VZ
34 // deprecated interface, don't use
35 wxFontDialog(wxWindow *parent, const wxFontData *data)
36 : wxFontDialogBase(parent, data) { Create(parent, data); }
bbcdf8bc
JS
37
38protected:
fc7a2a60 39 DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog)
2bda0e17
KB
40};
41
42#endif
11c7d5b6 43 // _WX_MSW_FONTDLG_H_
2bda0e17 44