From bd9724b905073263551298f598358b86ae075377 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 9 Mar 2000 16:47:20 +0000 Subject: [PATCH] Get/SetDefaultItem docs corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/panel.tex | 15 +++++++++++++++ docs/latex/wx/window.tex | 6 ------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/docs/latex/wx/panel.tex b/docs/latex/wx/panel.tex index ac46c67323..f6469a0b0e 100644 --- a/docs/latex/wx/panel.tex +++ b/docs/latex/wx/panel.tex @@ -90,6 +90,13 @@ Destructor. Deletes any child windows before deleting the physical window. Used for two-step panel construction. See \helpref{wxPanel::wxPanel}{wxpanelconstr}\rtfsp for details. +\membersection{wxPanel::GetDefaultItem}\label{wxpanelgetdefaultitem} + +\constfunc{wxButton*}{GetDefaultItem}{\void} + +Returns a pointer to the button which is the default for this window, or NULL. +The default button is the one activated by pressing the Enter key. + \membersection{wxPanel::InitDialog}\label{wxpanelinitdialog} \func{void}{InitDialog}{\void} @@ -123,4 +130,12 @@ propagate the notification to child windows and controls. \helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent} +\membersection{wxPanel::SetDefaultItem}\label{wxpanelsetdefaultitem} + +\func{void}{SetDefaultItem}{\param{wxButton }{*btn}} + +Changes the default button for the panel. + +\wxheading{See also} +\helpref{GetDefaultItem}{wxpanelgetdefaultitem} diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index d1f4b13fac..14ff8c5178 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -528,12 +528,6 @@ implements the following methods:\par Returns a pointer to the window's layout constraints, or NULL if there are none. -\membersection{wxWindow::GetDefaultItem}\label{wxwindowgetdefaultitem} - -\constfunc{wxButton*}{GetDefaultItem}{\void} - -Returns a pointer to the button which is the default for this window, or NULL. - \membersection{wxWindow::GetDropTarget}\label{wxwindowgetdroptarget} \constfunc{wxDropTarget*}{GetDropTarget}{\void} -- 2.47.2