From: Robert Roebling Date: Fri, 23 Jan 2009 11:55:45 +0000 (+0000) Subject: GTK+'s native controls usually have a bigger line height X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/43cb7161a01924c1fc29e01f6df740215c33b4ff?ds=inline GTK+'s native controls usually have a bigger line height git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index cf467495f5..a2dc2070c4 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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;