From 43cb7161a01924c1fc29e01f6df740215c33b4ff Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 23 Jan 2009 11:55:45 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.45.2