X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19c7ac3d3bf1ac2113505a805a79c40ce3db1f5b..8570a7b18f58df85981494fea5f7425a27aea11a:/src/osx/scrolbar_osx.cpp diff --git a/src/osx/scrolbar_osx.cpp b/src/osx/scrolbar_osx.cpp index ab81178d22..3a992ca618 100644 --- a/src/osx/scrolbar_osx.cpp +++ b/src/osx/scrolbar_osx.cpp @@ -21,6 +21,8 @@ #include "wx/osx/private.h" +#if wxUSE_SCROLLBAR + IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl) BEGIN_EVENT_TABLE(wxScrollBar, wxControl) @@ -83,7 +85,7 @@ void wxScrollBar::Command( wxCommandEvent& event ) ProcessCommand( event ); } -bool wxScrollBar::HandleClicked( double timestampsec ) +bool wxScrollBar::OSXHandleClicked( double WXUNUSED(timestampsec) ) { int new_pos = m_peer->GetValue(); @@ -174,4 +176,6 @@ void wxScrollBar::TriggerScrollEvent( wxEventType scrollEvent ) window->MacOnScroll( event ); else HandleWindowEvent( event ); -} \ No newline at end of file +} + +#endif \ No newline at end of file