]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing small scrollbars
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 29 Mar 2005 15:49:44 +0000 (15:49 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 29 Mar 2005 15:49:44 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/window.cpp

index 07696993a6d6f52c9adecc6f6664eb122f7315de..0f361b6d1ed1e42926710ad9fb1ecf3c4036afa3 100644 (file)
@@ -2996,10 +2996,10 @@ void wxWindowMac::MacRepositionScrollBars()
     width -= MacGetLeftBorderSize() + MacGetRightBorderSize();
     height -= MacGetTopBorderSize() + MacGetBottomBorderSize();
 
-    wxPoint vPoint(width-MAC_SCROLLBAR_SIZE, 0) ;
-    wxSize vSize(MAC_SCROLLBAR_SIZE, height - adjust) ;
-    wxPoint hPoint(0 , height-MAC_SCROLLBAR_SIZE ) ;
-    wxSize hSize( width - adjust, MAC_SCROLLBAR_SIZE) ;
+    wxPoint vPoint(width-scrlsize, 0) ;
+    wxSize vSize(scrlsize, height - adjust) ;
+    wxPoint hPoint(0 , height-scrlsize ) ;
+    wxSize hSize( width - adjust, scrlsize) ;
 /*
     int x = 0 ;
     int y = 0 ;