X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/245f96e890ee8912bb6b356239fa55b0706a769a..6f0b6fd1e4b5b2633e1f34c54c8d4f4e5da98637:/src/generic/splitter.cpp diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index fedb025def..3cffee36f0 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -129,7 +129,6 @@ void wxSplitterWindow::Init() m_sashStart = 0; m_sashPosition = m_requestedSashPosition = 0; m_sashGravity = 0.0; - m_sashSize = -1; // -1 means use the native sash size m_lastSize = wxSize(0,0); m_checkRequestedSashPosition = false; m_minimumPaneSize = 0; @@ -491,7 +490,7 @@ bool wxSplitterWindow::SashHitTest(int x, int y, int tolerance) int wxSplitterWindow::GetSashSize() const { - return m_sashSize > -1 ? m_sashSize : wxRendererNative::Get().GetSplitterParams(this).widthSash; + return wxRendererNative::Get().GetSplitterParams(this).widthSash; } int wxSplitterWindow::GetBorderSize() const