new wxWindow::FindWindowByXXX() methods replacing the old global functions
(patches 560214, 559916, 559811, ...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2160,6 +2160,9 @@ Find a menu item identifier associated with the given frame's menu bar.
|
||||
|
||||
\func{wxWindow *}{wxFindWindowByLabel}{\param{const wxString\& }{label}, \param{wxWindow *}{parent=NULL}}
|
||||
|
||||
{\bf NB:} This function is obsolete, please use
|
||||
\helpref{wxWindow::FindWindowByLabel}{wxwindowfindwindowbylabel} instead.
|
||||
|
||||
Find a window by its label. Depending on the type of window, the label may be a window title
|
||||
or panel item label. If {\it parent} is NULL, the search will start from all top-level
|
||||
frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy.
|
||||
@@ -2173,6 +2176,9 @@ The search is recursive in both cases.
|
||||
|
||||
\func{wxWindow *}{wxFindWindowByName}{\param{const wxString\& }{name}, \param{wxWindow *}{parent=NULL}}
|
||||
|
||||
{\bf NB:} This function is obsolete, please use
|
||||
\helpref{wxWindow::FindWindowByName}{wxwindowfindwindowbyname} instead.
|
||||
|
||||
Find a window by its name (as given in a window constructor or {\bf Create} function call).
|
||||
If {\it parent} is NULL, the search will start from all top-level
|
||||
frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy.
|
||||
|
@@ -469,6 +469,49 @@ implements the following methods:\par
|
||||
\end{twocollist}}
|
||||
}
|
||||
|
||||
\membersection{wxWindow::FindWindowById}\label{wxwindowfindwindow}
|
||||
|
||||
\func{wxWindow*}{FindWindowById}{\param{long}{ id}}
|
||||
|
||||
Find the first window with the given {\it id}.
|
||||
|
||||
If {\it parent} is NULL, the search will start from all top-level
|
||||
frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy.
|
||||
The search is recursive in both cases.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{FindWindowById}{wxwindowfindwindowbyid}
|
||||
|
||||
\membersection{wxWindow::FindWindowByName}\label{wxwindowfindwindowbyname}
|
||||
|
||||
\func{wxWindow*}{FindWindowByName}{\param{long}{ id}}
|
||||
|
||||
Find a window by its name (as given in a window constructor or {\bf Create} function call).
|
||||
If {\it parent} is NULL, the search will start from all top-level
|
||||
frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy.
|
||||
The search is recursive in both cases.
|
||||
|
||||
If no window with such name is found,
|
||||
\helpref{FindWindowByLabel}{wxwindowfindwindowbylabel} is called.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{FindWindowById}{wxwindowfindwindowbyid}
|
||||
|
||||
\membersection{wxWindow::FindWindowByLabel}\label{wxwindowfindwindowbylabel}
|
||||
|
||||
\func{wxWindow*}{FindWindowByLabel}{\param{long}{ id}}
|
||||
|
||||
Find a window by its label. Depending on the type of window, the label may be a window title
|
||||
or panel item label. If {\it parent} is NULL, the search will start from all top-level
|
||||
frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy.
|
||||
The search is recursive in both cases.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{FindWindowById}{wxwindowfindwindowbyid}
|
||||
|
||||
\membersection{wxWindow::Fit}\label{wxwindowfit}
|
||||
|
||||
\func{virtual void}{Fit}{\void}
|
||||
|
Reference in New Issue
Block a user