git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32232
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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,
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,
gs_button,
"arrow",
GTK_ARROW_DOWN,
- TRUE,
+ FALSE,
rect.x + 1, rect.y + 1, rect.width - 2, rect.height - 2
);
-
}
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,
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,
gs_button,
"arrow",
GTK_ARROW_DOWN,
- TRUE,
+ FALSE,
rect.x + 1, rect.y + 1, rect.width - 2, rect.height - 2
);
-
}