trying to draw transparent arrow instead of opaque one but it doesn't seem to change anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -391,10 +391,10 @@ void wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
// erase background first
|
||||
gtk_paint_box
|
||||
(
|
||||
gs_button->style,
|
||||
//GTK_PIZZA(wdc->m_window)->bin_window,
|
||||
wdc.m_window,
|
||||
state,
|
||||
GTK_SHADOW_NONE,
|
||||
@@ -408,7 +408,6 @@ void wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
gtk_paint_arrow
|
||||
(
|
||||
gs_button->style,
|
||||
//GTK_PIZZA(wdc->m_window)->bin_window,
|
||||
wdc.m_window,
|
||||
state,
|
||||
flags & wxCONTROL_PRESSED ? GTK_SHADOW_IN : GTK_SHADOW_OUT,
|
||||
@@ -416,9 +415,8 @@ void wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
gs_button,
|
||||
"arrow",
|
||||
GTK_ARROW_DOWN,
|
||||
TRUE,
|
||||
FALSE,
|
||||
rect.x + 1, rect.y + 1, rect.width - 2, rect.height - 2
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
@@ -391,10 +391,10 @@ void wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
// erase background first
|
||||
gtk_paint_box
|
||||
(
|
||||
gs_button->style,
|
||||
//GTK_PIZZA(wdc->m_window)->bin_window,
|
||||
wdc.m_window,
|
||||
state,
|
||||
GTK_SHADOW_NONE,
|
||||
@@ -408,7 +408,6 @@ void wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
gtk_paint_arrow
|
||||
(
|
||||
gs_button->style,
|
||||
//GTK_PIZZA(wdc->m_window)->bin_window,
|
||||
wdc.m_window,
|
||||
state,
|
||||
flags & wxCONTROL_PRESSED ? GTK_SHADOW_IN : GTK_SHADOW_OUT,
|
||||
@@ -416,9 +415,8 @@ void wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
gs_button,
|
||||
"arrow",
|
||||
GTK_ARROW_DOWN,
|
||||
TRUE,
|
||||
FALSE,
|
||||
rect.x + 1, rect.y + 1, rect.width - 2, rect.height - 2
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user