From 3e02f5ed14d30d059c2f94a871f25a5a7ff8eee9 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 2 Feb 2000 04:46:41 +0000 Subject: [PATCH] wxPython doc updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/sngchdlg.tex | 3 +++ docs/latex/wx/window.tex | 14 +++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/latex/wx/sngchdlg.tex b/docs/latex/wx/sngchdlg.tex index 661fa3220c..62173d4505 100644 --- a/docs/latex/wx/sngchdlg.tex +++ b/docs/latex/wx/sngchdlg.tex @@ -65,6 +65,9 @@ Constructor, taking a string list and optional client data. Use \helpref{wxSingleChoiceDialog::ShowModal}{wxsinglechoicedialogshowmodal} to show the dialog. +\pythonnote{For Python the two parametes \tt{n} and \tt{choices} are collapsed +into a single parameter \tt{choices} which is expected to be a Python +list of strings.} \membersection{wxSingleChoiceDialog::\destruct{wxSingleChoiceDialog}} diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 5a22deae3d..7a01f997f8 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -452,9 +452,9 @@ Returns the background colour of the window. This functions returns the best acceptable minimal size for the window. For example, for a static control, it will be the minimal size such that the -control label is not truncated. For windows containing subwindows (typically -\helpref{wxPanel}{wxpanel}), the size returned by this function will be the -same as the size the window would have had after calling +control label is not truncated. For windows containing subwindows (typically +\helpref{wxPanel}wxpanel}), the size returned by this function will be the +same as the size the window would have had after calling \helpref{Fit}{wxwindowfit}. \membersection{wxWindow::GetCharHeight} @@ -821,6 +821,14 @@ Returns TRUE if the given point or rectange area has been exposed since the last repaint. Call this in an paint event handler to optimize redrawing by only redrawing those areas, which have been exposed. +\pythonnote{In place of a single overloaded method name, wxPython +implements the following methods:\par +\indented{2cm}{\begin{twocollist} +\twocolitem{{\bf IsExposed(x,y, w=0,h=0}}{} +\twocolitem{{\bf IsExposedPoint(pt)}}{} +\twocolitem{{\bf IsExposedRect(rect)}}{} +\end{twocollist}} + \membersection{wxWindow::IsRetained}\label{wxwindowisretained} \constfunc{virtual bool}{IsRetained}{\void} -- 2.47.2