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
This commit is contained in:
Vadim Zeitlin
2002-01-23 12:06:33 +00:00
parent caa6e137ba
commit 65d877d2b7
2 changed files with 3 additions and 2 deletions

View File

@@ -1359,7 +1359,7 @@ is valid) if the dialog was cancelled.
\wxheading{Parameters} \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.} \docparam{fontInit}{If given, this will be the font initially selected in the dialog.}

View File

@@ -15,7 +15,8 @@
# include "wx/os2/fontdlg.h" # include "wx/os2/fontdlg.h"
#endif #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 wxFont WXDLLEXPORT
wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL, wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
const wxFont& fontInit = wxNullFont); const wxFont& fontInit = wxNullFont);