]> git.saurik.com Git - wxWidgets.git/commitdiff
GTK+'s native controls usually have a bigger line height
authorRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 11:55:45 +0000 (11:55 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 11:55:45 +0000 (11:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index cf467495f504f5be3cfbd0bc70b372d49401f20e..a2dc2070c49afd025f1af49e5021f252f4d0388d 100644 (file)
@@ -79,7 +79,12 @@ static const int EXTRA_WIDTH = 6;
 #else
 static const int EXTRA_WIDTH = 4;
 #endif
+
+#ifdef __WXGTK__
+static const int EXTRA_HEIGHT = 6;
+#else
 static const int EXTRA_HEIGHT = 4;
+#endif
 
 // margin between the window and the items
 static const int EXTRA_BORDER_X = 2;