]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/scrolbar_osx.cpp
Update configuration for OpenVMS
[wxWidgets.git] / src / osx / scrolbar_osx.cpp
index 3a992ca618f18e9b4337060d43f32ba2a621498f..3842de56865884b74c4c00187c4c2d99655cc4a9 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     1998-01-01
-// RCS-ID:      $Id: scrolbar.cpp 54129 2008-06-11 19:30:52Z SC $
+// RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -23,8 +23,6 @@
 
 #if wxUSE_SCROLLBAR
 
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-
 BEGIN_EVENT_TABLE(wxScrollBar, wxControl)
 END_EVENT_TABLE()
 
@@ -41,7 +39,7 @@ bool wxScrollBar::Create( wxWindow *parent,
 
     if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )
         return false;
-        
+
     m_peer = wxWidgetImpl::CreateScrollBar( this, parent, id, pos, size, style, GetExtraStyle() );
 
     MacPostControlCreate( pos, size );
@@ -74,7 +72,7 @@ void wxScrollBar::SetScrollbar( int position,
     m_objectSize = range;
 
    int range1 = wxMax( (m_objectSize - m_viewSize), 0 );
-   
+
    m_peer->SetMaximum( range1 );
    m_peer->SetScrollThumb( position, m_viewSize );
 }
@@ -178,4 +176,4 @@ void wxScrollBar::TriggerScrollEvent( wxEventType scrollEvent )
         HandleWindowEvent( event );
 }
 
-#endif
\ No newline at end of file
+#endif