text = wxControl::Ellipsize(text, dc,
ellmode,
maxWidth,
- wxELLIPSIZE_EXPAND_TAB);
+ wxELLIPSIZE_FLAGS_EXPAND_TABS);
// Ellipsize() will do something only if necessary
// update the ellipsization status for this pane; this is used later to
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",