// ============================================================================
/* static */
-wxRendererNative& wxRendererNative::Get()
+wxRendererNative& wxRendererNative::GetDefault()
{
static wxRendererGTK s_rendererGTK;
typedef void (*GtkPaintLineFunc)(GtkStyle *, GdkWindow *,
GtkStateType,
GdkRectangle *, GtkWidget *,
- gchar *, gint, gint, gint);
+#ifdef __WXGTK20__
+ const gchar *,
+#else
+ gchar *,
+#endif
+ gint, gint, gint);
GtkPaintLineFunc func = isVert ? gtk_paint_vline : gtk_paint_hline;