]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't add extra size to the height, it makes the combo way too big.
authorRobin Dunn <robin@alldunn.com>
Thu, 26 May 2005 17:42:07 +0000 (17:42 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 26 May 2005 17:42:07 +0000 (17:42 +0000)
(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
src/gtk1/window.cpp

index 9bd0dc994e64d10c7966deb8ec8f3cb708d07244..950f84f25afb1bb1cdf119d445ff12792e06bb15 100644 (file)
@@ -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;
 }
 }
 
index 9bd0dc994e64d10c7966deb8ec8f3cb708d07244..950f84f25afb1bb1cdf119d445ff12792e06bb15 100644 (file)
@@ -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;
 }
 }