From 65d877d2b74ede91db174d57d8498fee5c2e3e59 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 23 Jan 2002 12:06:33 +0000 Subject: [PATCH] typos due to much cut-and-paste: colour -> font in the docs and comment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/function.tex | 2 +- include/wx/fontdlg.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 7ff85d8c51..337fd06c4d 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -1359,7 +1359,7 @@ is valid) if the dialog was cancelled. \wxheading{Parameters} -\docparam{parent}{The parent window for the colour selection dialog} +\docparam{parent}{The parent window for the font selection dialog} \docparam{fontInit}{If given, this will be the font initially selected in the dialog.} diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index 681c6ab5c1..1396becad1 100644 --- a/include/wx/fontdlg.h +++ b/include/wx/fontdlg.h @@ -15,7 +15,8 @@ # include "wx/os2/fontdlg.h" #endif -// get the colour from user and return it +// 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); -- 2.45.2