From 900a87655f9a8533817c82fdac7deaedf345b246 Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Sun, 30 Jan 2005 22:51:21 +0000 Subject: [PATCH] Clean up indentation / tabs from previous patch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/slider.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mac/carbon/slider.cpp b/src/mac/carbon/slider.cpp index b9d1fd97c6..c88fe4e2e2 100644 --- a/src/mac/carbon/slider.cpp +++ b/src/mac/carbon/slider.cpp @@ -445,19 +445,19 @@ void wxSlider::DoSetSize(int x, int y, int w, int h, int sizeFlags) // TODO: Can all of this code go in the conditional wxSL_LABELS block? int minWidth; - minWidth = m_minWidth; + minWidth = m_minWidth; - if (GetWindowStyle() & wxSL_LABELS) + if (GetWindowStyle() & wxSL_LABELS) { - // make sure we don't allow the entire control to be resized accidently - if (width == GetSize().x) - m_minWidth = -1; - } + // make sure we don't allow the entire control to be resized accidently + if (width == GetSize().x) + m_minWidth = -1; + } //If the control has labels, we still need to call this again because //the labels alter the control's w and h values. wxControl::DoSetSize( x, y , w , h ,sizeFlags ) ; - m_minWidth = minWidth; + m_minWidth = minWidth; } void wxSlider::DoMoveWindow(int x, int y, int width, int height) -- 2.50.0