X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fb26ea3b3784922bd0613a5e96fda78fac684ac..bf95a04f16759468ee7af83a7a78019399c648bb:/docs/latex/wx/sashwin.tex?ds=sidebyside diff --git a/docs/latex/wx/sashwin.tex b/docs/latex/wx/sashwin.tex index 0956e0ea11..a2a85b294d 100644 --- a/docs/latex/wx/sashwin.tex +++ b/docs/latex/wx/sashwin.tex @@ -11,13 +11,20 @@ via a \helpref{wxSashEvent}{wxsashevent} notification. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Window styles} The following styles apply in addition to the normal wxWindow styles. \twocolwidtha{5cm}% \begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxSW\_3D}}{Draws the sashes in 3D.} +\twocolitem{\windowstyle{wxSW\_3D}}{Draws a 3D effect sash and border.} +\twocolitem{\windowstyle{wxSW\_3DSASH}}{Draws a 3D effect sash.} +\twocolitem{\windowstyle{wxSW\_3DBORDER}}{Draws a 3D effect border.} +\twocolitem{\windowstyle{wxSW\_BORDER}}{Draws a thin black border.} \end{twocollist} See also \helpref{window styles overview}{windowstyles}. @@ -59,7 +66,7 @@ enum wxSashEdgePosition { Default constructor. -\func{}{wxSashWindow}{\param{wxSashWindow*}{ parent}, \param{wxSashWindowID }{id}, +\func{}{wxSashWindow}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxCLIP\_CHILDREN \pipe wxSW\_3D}, @@ -94,7 +101,7 @@ Destructor. \constfunc{bool}{GetSashVisible}{\param{wxSashEdgePosition }{edge}} -Returns TRUE if a sash is visible on the given edge, FALSE otherwise. +Returns true if a sash is visible on the given edge, false otherwise. \wxheading{Parameters} @@ -132,7 +139,7 @@ Gets the minimum window size in the y direction. \constfunc{bool}{HasBorder}{\param{wxSashEdgePosition }{edge}} -Returns TRUE if the sash has a border, FALSE otherwise. +Returns true if the sash has a border, false otherwise. \wxheading{Parameters} @@ -176,15 +183,12 @@ Call this function to make a sash visible or invisible on a particular edge. \docparam{edge}{Edge to change. One of wxSASH\_TOP, wxSASH\_RIGHT, wxSASH\_BOTTOM, wxSASH\_LEFT.} -\docparam{visible}{TRUE to make the sash visible, FALSE to make it invisible.} +\docparam{visible}{true to make the sash visible, false to make it invisible.} \wxheading{See also} \helpref{wxSashWindow::GetSashVisible}{wxsashwindowgetsashvisible} - // Set whether there's a border in this position - inline void SetSashBorder(wxSashEdgePosition edge, bool border) { m_sashes[edge].m_border = border; } - \membersection{wxSashWindow::SetSashBorder}\label{wxsashwindowsetsashborder} \func{void}{SetSashBorder}{\param{wxSashEdgePosition }{edge}, \param{bool}{ hasBorder}} @@ -195,9 +199,9 @@ Call this function to give the sash a border, or remove the border. \docparam{edge}{Edge to change. One of wxSASH\_TOP, wxSASH\_RIGHT, wxSASH\_BOTTOM, wxSASH\_LEFT.} -\docparam{hasBorder}{TRUE to give the sash a border visible, FALSE to remove it.} +\docparam{hasBorder}{true to give the sash a border visible, false to remove it.} \wxheading{See also} -\helpref{wxSashWindow::HashBorder}{wxsashwindowhasborder} +\helpref{wxSashWindow::HasBorder}{wxsashwindowhasborder}