]> git.saurik.com Git - wxWidgets.git/commitdiff
Another theme fix.
authorRobert Roebling <robert@roebling.de>
Thu, 14 Sep 2000 09:23:12 +0000 (09:23 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 14 Sep 2000 09:23:12 +0000 (09:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp
src/gtk1/window.cpp

index d216773c501d4b9ebe9655ab60014259b06072d5..5288cfcfd85146e32b5332d5080816c51904c269 100644 (file)
@@ -683,8 +683,8 @@ static int gtk_window_expose_callback( GtkWidget *widget, GdkEventExpose *gdk_ev
         
     if (win->IsTopLevel())
     {
-        gtk_paint_flat_box (widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
-                     GTK_SHADOW_NONE, &gdk_event->area, widget, "base", 0, 0, -1, -1);
+        gtk_paint_flat_box (win->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
+                     GTK_SHADOW_NONE, &gdk_event->area, win->m_widget, "base", 0, 0, -1, -1);
     }
         
     win->GetUpdateRegion().Union( gdk_event->area.x,
@@ -785,8 +785,8 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
 
     if (win->IsTopLevel())
     {
-        gtk_paint_flat_box (widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
-                     GTK_SHADOW_NONE, rect, widget, "base", 0, 0, -1, -1);
+        gtk_paint_flat_box (win->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
+                     GTK_SHADOW_NONE, rect, win->m_widget, "base", 0, 0, -1, -1);
     }
         
         if (!(GTK_WIDGET_APP_PAINTABLE (widget)) &&
index d216773c501d4b9ebe9655ab60014259b06072d5..5288cfcfd85146e32b5332d5080816c51904c269 100644 (file)
@@ -683,8 +683,8 @@ static int gtk_window_expose_callback( GtkWidget *widget, GdkEventExpose *gdk_ev
         
     if (win->IsTopLevel())
     {
-        gtk_paint_flat_box (widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
-                     GTK_SHADOW_NONE, &gdk_event->area, widget, "base", 0, 0, -1, -1);
+        gtk_paint_flat_box (win->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
+                     GTK_SHADOW_NONE, &gdk_event->area, win->m_widget, "base", 0, 0, -1, -1);
     }
         
     win->GetUpdateRegion().Union( gdk_event->area.x,
@@ -785,8 +785,8 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
 
     if (win->IsTopLevel())
     {
-        gtk_paint_flat_box (widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
-                     GTK_SHADOW_NONE, rect, widget, "base", 0, 0, -1, -1);
+        gtk_paint_flat_box (win->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL, 
+                     GTK_SHADOW_NONE, rect, win->m_widget, "base", 0, 0, -1, -1);
     }
         
         if (!(GTK_WIDGET_APP_PAINTABLE (widget)) &&