\constfunc{bool}{HasBorder}{\param{wxSashEdgePosition }{edge}}
Returns true if the sash has a border, false otherwise.
+This function is obsolete since the sash border property is unused.
\wxheading{Parameters}
\func{void}{SetSashBorder}{\param{wxSashEdgePosition }{edge}, \param{bool}{ hasBorder}}
Call this function to give the sash a border, or remove the border.
+This function is obsolete since the sash border property is unused.
\wxheading{Parameters}
class WXDLLIMPEXP_ADV wxSashEdge
{
public:
- wxSashEdge() { m_show = false; m_border = false; m_margin = 0; }
+ wxSashEdge()
+ { m_show = false;
+#if WXWIN_COMPATIBILITY_2_6
+ m_border = false;
+#endif
+ m_margin = 0; }
bool m_show; // Is the sash showing?
+#if WXWIN_COMPATIBILITY_2_6
bool m_border; // Do we draw a border?
+#endif
int m_margin; // The margin size
};
// Get whether there's a sash in this position
bool GetSashVisible(wxSashEdgePosition edge) const { return m_sashes[edge].m_show; }
+#if WXWIN_COMPATIBILITY_2_6
// Set whether there's a border in this position
+ // This value is unused in wxSashWindow.
void SetSashBorder(wxSashEdgePosition edge, bool border) { m_sashes[edge].m_border = border; }
// Get whether there's a border in this position
+ // This value is unused in wxSashWindow.
bool HasBorder(wxSashEdgePosition edge) const { return m_sashes[edge].m_border; }
+#endif
// Get border size
int GetEdgeMargin(wxSashEdgePosition edge) const { return m_sashes[edge].m_margin; }