]> git.saurik.com Git - wxWidgets.git/commitdiff
typos due to much cut-and-paste: colour -> font in the docs and comment
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Jan 2002 12:06:33 +0000 (12:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Jan 2002 12:06:33 +0000 (12:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/function.tex
include/wx/fontdlg.h

index 7ff85d8c5145fc5d8ec0cc5eeaf64e28dd3ecf0b..337fd06c4dadb2a11273b9928dd11c328defac63 100644 (file)
@@ -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.}
 
index 681c6ab5c12e2ef71bcd652012280a1e6802c08b..1396becad1c058a0102b8f978d05fdde8fa51a82 100644 (file)
@@ -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);