X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4234ea8be031f9249aaeae5015861d6dcd7e2f94..e5ee4c908b9dbcf07f0441aa74d8635b7343be4d:/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