+wxSplitterRenderParams
+wxRendererMac::GetSplitterParams(const wxWindow *win)
+{
+ // see below
+ SInt32 sashWidth,
+ border;
+#if wxOSX_USE_COCOA
+ if ( win->HasFlag(wxSP_3DSASH) )
+ GetThemeMetric( kThemeMetricPaneSplitterHeight, &sashWidth ); // Cocoa == Carbon == 7
+ else if ( win->HasFlag(wxSP_NOSASH) ) // actually Cocoa doesn't allow 0
+ sashWidth = 0;
+ else // no 3D effect - Cocoa [NSSplitView dividerThickNess] for NSSplitViewDividerStyleThin
+ sashWidth = 1;
+#else // Carbon
+ if ( win->HasFlag(wxSP_3DSASH) )
+ GetThemeMetric( kThemeMetricPaneSplitterHeight, &sashWidth );
+ else if ( win->HasFlag(wxSP_NOSASH) )
+ sashWidth = 0;
+ else // no 3D effect
+ GetThemeMetric( kThemeMetricSmallPaneSplitterHeight, &sashWidth );
+#endif // Cocoa/Carbon
+
+ if ( win->HasFlag(wxSP_3DBORDER) )
+ border = 2;
+ else // no 3D effect
+ border = 0;
+
+ return wxSplitterRenderParams(sashWidth, border, false);
+}
+
+