X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4234ea8be031f9249aaeae5015861d6dcd7e2f94..4d876ee3f727afa0d79aa5f7b03bf9a59673bef6:/include/wx/fontdlg.h 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