From d741c58382b119f6380e91b955255425010f123d Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 21 Jan 2002 17:52:01 +0000
Subject: [PATCH] added wxGetFontFromUser docs and links to it and
 wxGetColourFromUser from elsewhere

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/colordlg.tex |  5 ++++-
 docs/latex/wx/fontdlg.tex  |  4 +++-
 docs/latex/wx/function.tex | 20 ++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/docs/latex/wx/colordlg.tex b/docs/latex/wx/colordlg.tex
index 1d0a57e4f3..f7f00a9b4b 100644
--- a/docs/latex/wx/colordlg.tex
+++ b/docs/latex/wx/colordlg.tex
@@ -15,7 +15,10 @@ This class represents the colour chooser dialog.
 
 \wxheading{See also}
 
-\helpref{wxColourDialog Overview}{wxcolourdialogoverview}, \helpref{wxColour}{wxcolour}, \helpref{wxColourData}{wxcolourdata}
+\helpref{wxColourDialog Overview}{wxcolourdialogoverview},\\
+\helpref{wxColour}{wxcolour},\\
+\helpref{wxColourData}{wxcolourdata},\\
+\helpref{wxGetColourFromUser}{wxgetcolourfromuser}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
diff --git a/docs/latex/wx/fontdlg.tex b/docs/latex/wx/fontdlg.tex
index dc3a0549e6..6af8c9c6d0 100644
--- a/docs/latex/wx/fontdlg.tex
+++ b/docs/latex/wx/fontdlg.tex
@@ -159,7 +159,9 @@ This class represents the font chooser dialog.
 
 \wxheading{See also}
 
-\helpref{Overview}{wxfontdialogoverview}, \helpref{wxFontData}{wxfontdata}
+\helpref{Overview}{wxfontdialogoverview},\\
+\helpref{wxFontData}{wxfontdata},\\
+\helpref{wxGetFontFromUser}{wxgetfontfromuser}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex
index 2fcf6714de..7ff85d8c51 100644
--- a/docs/latex/wx/function.tex
+++ b/docs/latex/wx/function.tex
@@ -89,6 +89,7 @@ the corresponding topic.
 \helpref{wxGetElapsedTime}{wxgetelapsedtime}\\
 \helpref{wxGetEmailAddress}{wxgetemailaddress}\\
 \helpref{wxGetEnv}{wxgetenv}\\
+\helpref{wxGetFontFromUser}{wxgetfontfromuser}\\
 \helpref{wxGetFreeMemory}{wxgetfreememory}\\
 \helpref{wxGetFullHostName}{wxgetfullhostname}\\
 \helpref{wxGetHomeDir}{wxgethomedir}\\
@@ -1348,6 +1349,25 @@ is valid) if the dialog was cancelled.
 
 <wx/colordlg.h>
 
+\membersection{::wxGetFontFromUser}\label{wxgetfontfromuser}
+
+\func{wxFont}{wxGetFontFromUser}{\param{wxWindow *}{parent}, \param{const wxFont\& }{fontInit}}
+
+Shows the font selection dialog and returns the font selected by user or
+invalid font (use \helpref{wxFont::Ok}{wxfontok} to test whether a font
+is valid) if the dialog was cancelled.
+
+\wxheading{Parameters}
+
+\docparam{parent}{The parent window for the colour selection dialog}
+
+\docparam{fontInit}{If given, this will be the font initially selected in the dialog.}
+
+\wxheading{Include files}
+
+<wx/fontdlg.h>
+
+
 \membersection{::wxGetMultipleChoices}\label{wxgetmultiplechoices}
 
 \func{size\_t}{wxGetMultipleChoices}{\\
-- 
2.50.0

