X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d94c09cdc685ff1dc85365af2ba7d36fa86d1002..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/generic/splitter.h?ds=sidebyside diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 12056cac56..2f70ea00e2 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -138,7 +138,7 @@ public: bool IsSplit() const { return (m_windowTwo != NULL); } // Sets the sash size - void SetSashSize(int WXUNUSED(width)) { } + void SetSashSize(int width) { m_sashSize = width; } // Sets the border size void SetBorderSize(int WXUNUSED(width)) { } @@ -283,6 +283,7 @@ protected: int m_oldY; int m_sashPosition; // Number of pixels from left or top double m_sashGravity; + int m_sashSize; wxSize m_lastSize; int m_requestedSashPosition; int m_sashPositionCurrent; // while dragging