]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/renderer.cpp
compilation fix
[wxWidgets.git] / src / gtk1 / renderer.cpp
index efe4eb28015042d62584b6dbfc5b4427c4c3ba8d..dea620908fc9cf90f7a9062de6e63514fb8113c8 100644 (file)
@@ -76,7 +76,7 @@ public:
 // ============================================================================
 
 /* static */
-wxRendererNative& wxRendererNative::Get()
+wxRendererNative& wxRendererNative::GetDefault()
 {
     static wxRendererGTK s_rendererGTK;
 
@@ -229,7 +229,12 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
     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;