- if (win->GetWindowStyle() & wxSP_NO_XP_THEME)
- {
- m_rendererNative.DrawSplitterSash(
- win, dc, size, position, orient, flags);
- return;
- }
-
- // I don't know if it is correct to use the rebar background for the
- // splitter but it least this works ok in the default theme
- wxUxThemeHandle hTheme(win, L"REBAR");
- if ( hTheme )