X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4234ea8be031f9249aaeae5015861d6dcd7e2f94..bc55104d9ab0b0b835644f17a152b4fbbfa8c7b9:/include/wx/fontdlg.h?ds=sidebyside diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index 88205f033f..1396becad1 100644 --- a/include/wx/fontdlg.h +++ b/include/wx/fontdlg.h @@ -15,6 +15,12 @@ # include "wx/os2/fontdlg.h" #endif +// get the font from user and return it, returns wxNullFont if the dialog was +// cancelled +wxFont WXDLLEXPORT +wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL, + const wxFont& fontInit = wxNullFont); + #endif // wxUSE_FONTDLG #endif