]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/renderer.cpp
Minimum is now GTK+ 2.4
[wxWidgets.git] / src / gtk / renderer.cpp
index 9ce50741380d619ab70f08c0a65e511c5423fc97..d4c273d979ad21da67d5b0e4c6394a2351c40253 100644 (file)
@@ -378,21 +378,17 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
 
     if ( isVert )
     {
-        int h = win->GetClientSize().GetHeight();
-
         rect.x = position;
         rect.y = 0;
         rect.width = full_size;
-        rect.height = h;
+        rect.height = size.y;
     }
     else // horz
     {
-        int w = win->GetClientSize().GetWidth();
-
         rect.x = 0;
         rect.y = position;
         rect.height = full_size;
-        rect.width = w;
+        rect.width = size.x;
     }
 
     int x_diff = 0;