]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/scrolbar.cpp
use correct scale when drawing
[wxWidgets.git] / src / osx / carbon / scrolbar.cpp
index c5ccacbb6ebc23eeb650486a035aa325106c35fe..53487b5e8e20645aea6351410822e2a5a6aa1a1e 100644 (file)
@@ -27,8 +27,8 @@ public :
     wxOSXScrollBarCarbonImpl( wxWindowMac* peer) : wxMacControl( peer )
     {
     }
     wxOSXScrollBarCarbonImpl( wxWindowMac* peer) : wxMacControl( peer )
     {
     }
-    
-    void    SetScrollThumb( wxInt32 value, wxInt32 thumbSize ) 
+
+    void    SetScrollThumb( wxInt32 value, wxInt32 thumbSize )
     {
         SetValue( value );
         SetControlViewSize(m_controlRef , thumbSize );
     {
         SetValue( value );
         SetControlViewSize(m_controlRef , thumbSize );
@@ -36,12 +36,12 @@ public :
 protected:
 };
 
 protected:
 };
 
-wxWidgetImplType* wxWidgetImpl::CreateScrollBar( wxWindowMac* wxpeer, 
-                                    wxWindowMac* parent, 
-                                    wxWindowID WXUNUSED(id), 
-                                    const wxPoint& pos, 
+wxWidgetImplType* wxWidgetImpl::CreateScrollBar( wxWindowMac* wxpeer,
+                                    wxWindowMac* parent,
+                                    wxWindowID WXUNUSED(id),
+                                    const wxPoint& pos,
                                     const wxSize& size,
                                     const wxSize& size,
-                                    long WXUNUSED(style), 
+                                    long WXUNUSED(style),
                                     long WXUNUSED(extraStyle))
 {
     Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );
                                     long WXUNUSED(extraStyle))
 {
     Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );