1998-08-15 00:23:28 +00:00
|
|
|
#ifndef _WX_FONTDLG_H_BASE_
|
|
|
|
#define _WX_FONTDLG_H_BASE_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
#if wxUSE_FONTDLG
|
|
|
|
|
2001-07-04 18:27:43 +00:00
|
|
|
#if defined(__WXUNIVERSAL__) || defined(__WXMOTIF__) || defined(__WXMAC__)
|
|
|
|
# include "wx/generic/fontdlgg.h"
|
1998-08-07 20:23:17 +00:00
|
|
|
# define wxFontDialog wxGenericFontDialog
|
1998-09-12 17:31:48 +00:00
|
|
|
# define sm_classwxFontDialog sm_classwxGenericFontDialog
|
2001-07-04 18:27:43 +00:00
|
|
|
#elif defined(__WXMSW__)
|
|
|
|
# include "wx/msw/fontdlg.h"
|
1998-07-10 14:15:17 +00:00
|
|
|
#elif defined(__WXGTK__)
|
2001-07-04 18:27:43 +00:00
|
|
|
# include "wx/gtk/fontdlg.h"
|
1999-07-28 03:38:12 +00:00
|
|
|
#elif defined(__WXPM__)
|
2001-07-04 18:27:43 +00:00
|
|
|
# include "wx/os2/fontdlg.h"
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
|
|
|
|
2002-01-23 12:06:33 +00:00
|
|
|
// get the font from user and return it, returns wxNullFont if the dialog was
|
|
|
|
// cancelled
|
2002-01-21 17:53:00 +00:00
|
|
|
wxFont WXDLLEXPORT
|
|
|
|
wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
|
|
|
|
const wxFont& fontInit = wxNullFont);
|
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
#endif // wxUSE_FONTDLG
|
|
|
|
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
1998-08-15 00:23:28 +00:00
|
|
|
// _WX_FONTDLG_H_BASE_
|