]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontdlg.h
Window management and sizer layout corrections
[wxWidgets.git] / include / wx / fontdlg.h
index 88205f033f68f29744c8d942f71b8792e55a60aa..1396becad1c058a0102b8f978d05fdde8fa51a82 100644 (file)
 #   include "wx/os2/fontdlg.h"
 #endif
 
 #   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
 #endif // wxUSE_FONTDLG
 
 #endif