Changed ComboDropDown button under GTK+ so that it
will create a transparent button. This works for the date control, but should be generalized somehow. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -396,19 +396,6 @@ void wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
// erase background first
|
||||
gtk_paint_box
|
||||
(
|
||||
button->style,
|
||||
wdc.m_window,
|
||||
state,
|
||||
GTK_SHADOW_NONE,
|
||||
NULL,
|
||||
button,
|
||||
"button",
|
||||
rect.x, rect.y, rect.width, rect.height
|
||||
);
|
||||
|
||||
// draw arrow on button
|
||||
gtk_paint_arrow
|
||||
(
|
||||
|
Reference in New Issue
Block a user