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:
Vadim Zeitlin
2005-02-20 01:33:03 +00:00
parent e1befae3d2
commit a8ac548ed0
2 changed files with 4 additions and 8 deletions

View File

@@ -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
);
}

View File

@@ -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
);
}