X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a67f1484e05419aafe3cd4791babd4cbae41791f..222702b112dcc7bebe018d6f4d66fe469fefd02c:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index fd76da760f..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; } } @@ -4370,7 +4370,8 @@ void wxWindowGTK::DoApplyWidgetStyle(GtkRcStyle *style) { if (m_wxwindow) gtk_widget_modify_style(m_wxwindow, style); - gtk_widget_modify_style(m_widget, style); + else + gtk_widget_modify_style(m_widget, style); } bool wxWindowGTK::SetBackgroundStyle(wxBackgroundStyle style)