X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19c7ac3d3bf1ac2113505a805a79c40ce3db1f5b..5f480c0bf140db144e00993b060af28e45cd9c94:/src/osx/slider_osx.cpp diff --git a/src/osx/slider_osx.cpp b/src/osx/slider_osx.cpp index 9452df9bad..68540720b0 100644 --- a/src/osx/slider_osx.cpp +++ b/src/osx/slider_osx.cpp @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id: slider.cpp 54129 2008-06-11 19:30:52Z SC $ +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,7 +22,7 @@ BEGIN_EVENT_TABLE(wxSlider, wxControl) END_EVENT_TABLE() // The dimensions of the different styles of sliders (from Aqua document) -#ifdef wxOSX_USE_COCOA +#if wxOSX_USE_COCOA #define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 28 #define wxSLIDER_DIMENSIONACROSS_ARROW 21 #else @@ -186,9 +186,9 @@ void wxSlider::SetRange(int minValue, int maxValue) m_macMaximumStatic->SetLabel( value ); } - // If the range is out of bounds, set it to a + // If the range is out of bounds, set it to a // value that is within bounds - // RN: Testing reveals OSX does its own + // RN: Testing reveals OSX does its own // bounding, perhaps this isn't needed? int currentValue = GetValue(); @@ -296,10 +296,10 @@ void wxSlider::TriggerScrollEvent( wxEventType scrollEvent) HandleWindowEvent( cevent ); } -bool wxSlider::HandleClicked( double timestampsec ) +bool wxSlider::OSXHandleClicked( double WXUNUSED(timestampsec) ) { TriggerScrollEvent(wxEVT_SCROLL_THUMBRELEASE); - + return true; }