GTK2: gtk_draw_* -> gtk_paint_*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,10 +75,11 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g
|
||||
|
||||
GtkPizza *pizza = GTK_PIZZA(widget);
|
||||
|
||||
gtk_draw_shadow( widget->style,
|
||||
gtk_paint_shadow (widget->style,
|
||||
pizza->bin_window,
|
||||
GTK_STATE_NORMAL,
|
||||
GTK_SHADOW_OUT,
|
||||
NULL, NULL, NULL, // FIXME: No clipping?
|
||||
0, 0,
|
||||
win->m_width, win->m_height);
|
||||
|
||||
|
@@ -358,10 +358,11 @@ static void draw_frame( GtkWidget *widget, wxWindowGTK *win )
|
||||
|
||||
if (win->HasFlag(wxRAISED_BORDER))
|
||||
{
|
||||
gtk_draw_shadow( widget->style,
|
||||
gtk_paint_shadow (widget->style,
|
||||
widget->window,
|
||||
GTK_STATE_NORMAL,
|
||||
GTK_SHADOW_OUT,
|
||||
NULL, NULL, NULL, // FIXME: No clipping?
|
||||
dx, dy,
|
||||
widget->allocation.width-dw, widget->allocation.height-dh );
|
||||
return;
|
||||
@@ -369,10 +370,11 @@ static void draw_frame( GtkWidget *widget, wxWindowGTK *win )
|
||||
|
||||
if (win->HasFlag(wxSUNKEN_BORDER))
|
||||
{
|
||||
gtk_draw_shadow( widget->style,
|
||||
gtk_paint_shadow (widget->style,
|
||||
widget->window,
|
||||
GTK_STATE_NORMAL,
|
||||
GTK_SHADOW_IN,
|
||||
NULL, NULL, NULL, // FIXME: No clipping?
|
||||
dx, dy,
|
||||
widget->allocation.width-dw, widget->allocation.height-dh );
|
||||
return;
|
||||
|
Reference in New Issue
Block a user