\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/sashwin.h>
+
\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}.
\latexignore{\rtfignore{\wxheading{Members}}}
-\membersection{wxSashWindow::wxSashWindow}
+\membersection{wxSashWindow::wxSashWindow}\label{wxsashwindowctor}
\func{}{wxSashWindow}{\void}
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},
\docparam{name}{Window name.}
-\membersection{wxSashWindow::\destruct{wxSashWindow}}
+\membersection{wxSashWindow::\destruct{wxSashWindow}}\label{wxsashwindowdtor}
\func{}{\destruct{wxSashWindow}}{\void}
\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}
\membersection{wxSashWindow::GetMinimumSizeY}\label{wxsashwindowgetminimumsizey}
-\constfunc{int}{GetMinimumSizeY}{\param{int}{ min}}
+\constfunc{int}{GetMinimumSizeY}{\void}
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}
\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}}
\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}