+#elif defined(__WXGTK__)
+
+ GdkRectangle gdk_rect;
+ if (orientation == wxVERTICAL )
+ {
+ gdk_rect.x = rect.x;
+ gdk_rect.y = rect.y;
+ gdk_rect.width = m_sash_size;
+ gdk_rect.height = rect.height;
+ }
+ else
+ {
+ gdk_rect.x = rect.x;
+ gdk_rect.y = rect.y;
+ gdk_rect.width = rect.width;
+ gdk_rect.height = m_sash_size;
+ }
+
+ if (!window) return;
+ if (!window->m_wxwindow) return;
+ if (!GTK_PIZZA(window->m_wxwindow)->bin_window) return;
+
+ gtk_paint_handle
+ (
+ window->m_wxwindow->style,
+ GTK_PIZZA(window->m_wxwindow)->bin_window,
+ // flags & wxCONTROL_CURRENT ? GTK_STATE_PRELIGHT : GTK_STATE_NORMAL,
+ GTK_STATE_NORMAL,
+ GTK_SHADOW_NONE,
+ NULL /* no clipping */,
+ window->m_wxwindow,
+ "paned",
+ rect.x,
+ rect.y,
+ rect.width,
+ rect.height,
+ (orientation == wxVERTICAL) ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
+ );
+