+// ----------------------------------------------------------------------------
+// splitter sash drawing
+// ----------------------------------------------------------------------------
+
+// all this should probably be read from the current theme settings somehow?
+#ifdef __WXGTK20__
+ // the full sash size
+ static const wxCoord SASH_FULL_SIZE = 5;
+#else // GTK+ 1.x
+ // the full sash width (should be even)
+ static const wxCoord SASH_SIZE = 10;
+
+ // margin around the sash
+ static const wxCoord SASH_MARGIN = 5;
+
+ // the full sash size
+ static const wxCoord SASH_FULL_SIZE = SASH_SIZE + SASH_MARGIN;
+#endif // GTK+ 2.x/1.x
+
+wxSplitterRenderParams
+wxRendererGTK::GetSplitterParams(const wxWindow * WXUNUSED(win))
+{
+ // we don't draw any border, hence 0 for the second field
+ return wxSplitterRenderParams
+ (
+ SASH_FULL_SIZE,
+ 0,
+#ifdef __WXGTK20__
+ true // hot sensitive
+#else // GTK+ 1.x
+ false // not
+#endif // GTK+ 2.x/1.x
+ );
+}
+
+void
+wxRendererGTK::DrawSplitterBorder(wxWindow * WXUNUSED(win),
+ wxDC& WXUNUSED(dc),
+ const wxRect& WXUNUSED(rect),
+ int WXUNUSED(flags))
+{
+ // nothing to do
+}