GetFieldRect(i, rect);
if (rect.GetWidth() <= 0)
- return; // happens when the status bar is shrinked in a very small area!
+ return; // happens when the status bar is shrunk in a very small area!
int style = m_panes[i].GetStyle();
if (style != wxSB_FLAT)
if (m_widthsAbs.IsEmpty())
return wxNOT_FOUND;
- // NOTE: we explicitely don't take in count the borders since they are only
+ // NOTE: we explicitly don't take in count the borders since they are only
// useful when rendering the status text, not for hit-test computations
if (pt.y <= 0 || pt.y >= m_lastClientHeight)
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",