From bfeb1e58383610000db417a5e58f85e843c39a61 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 26 May 2005 17:42:07 +0000 Subject: [PATCH] Don't add extra size to the height, it makes the combo way too big. (Patch from Ricardo Pedroso.) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 2 +- src/gtk1/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 9bd0dc994e..950f84f25a 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -507,7 +507,7 @@ void wxgtk_combo_size_request_callback(GtkWidget *widget, (gcombo->button, &entry_req ); requisition->width = w - entry_req.width; - requisition->height = entry_req.height+4; // TODO: why +4? + requisition->height = entry_req.height; } } diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 9bd0dc994e..950f84f25a 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -507,7 +507,7 @@ void wxgtk_combo_size_request_callback(GtkWidget *widget, (gcombo->button, &entry_req ); requisition->width = w - entry_req.width; - requisition->height = entry_req.height+4; // TODO: why +4? + requisition->height = entry_req.height; } } -- 2.45.2