]>
Commit | Line | Data |
---|---|---|
1 | #ifndef _WX_FONTDLG_H_BASE_ | |
2 | #define _WX_FONTDLG_H_BASE_ | |
3 | ||
4 | #if wxUSE_FONTDLG | |
5 | ||
6 | #if defined(__WXUNIVERSAL__) || defined(__WXMOTIF__) || defined(__WXMAC__) | |
7 | # include "wx/generic/fontdlgg.h" | |
8 | # define wxFontDialog wxGenericFontDialog | |
9 | # define sm_classwxFontDialog sm_classwxGenericFontDialog | |
10 | #elif defined(__WXMSW__) | |
11 | # include "wx/msw/fontdlg.h" | |
12 | #elif defined(__WXGTK__) | |
13 | # include "wx/gtk/fontdlg.h" | |
14 | #elif defined(__WXPM__) | |
15 | # include "wx/os2/fontdlg.h" | |
16 | #endif | |
17 | ||
18 | // get the colour from user and return it | |
19 | wxFont WXDLLEXPORT | |
20 | wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL, | |
21 | const wxFont& fontInit = wxNullFont); | |
22 | ||
23 | #endif // wxUSE_FONTDLG | |
24 | ||
25 | #endif | |
26 | // _WX_FONTDLG_H_BASE_ |