]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
Fix history in wxWebViewIE when using a custom file scheme.
[wxWidgets.git] / src / generic / statusbr.cpp
index 691cd520e11e5b0826ee5a3dd5391fbb3e11d8ab..3fdc2d8bc856305574c2682af3c8935fac7ad8fe 100644 (file)
@@ -414,9 +414,9 @@ void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) )
         GdkWindowEdge edge =
             GetLayoutDirection() == wxLayout_RightToLeft ? GDK_WINDOW_EDGE_SOUTH_WEST :
                                                            GDK_WINDOW_EDGE_SOUTH_EAST;
-        gtk_paint_resize_grip( m_widget->style,
+        gtk_paint_resize_grip(gtk_widget_get_style(m_widget),
                             GTKGetDrawingWindow(),
-                            (GtkStateType) GTK_WIDGET_STATE (m_widget),
+                            gtk_widget_get_state(m_widget),
                             NULL,
                             m_widget,
                             "statusbar",