No 3D sash in splitter window (src included)

David Sandberg wrote:

I can't convince the sash of a splitter window to appear as a 3D GUI
element. As long as I make sure the two contained objects are visibly
different (as in the example code below), I can grab the position where
the objects meet and move it around, so I know the sash is there, but I
can't get it to show up visibly. Code is attached below. When I run
the demo applications that include a splitter window on the same system
(WinXP), I see a 3D sash just fine, so I don't think it is a system
problem - it must just be something I'm missing, right? (I'm very new
at wxPython, and Python in general.)

When the wxSplitterWindow class was first created it drew the sash and had total control over what was drawn. Since then the code has been changed to use the wxRendererNative for drawing the sash by default so that it will look native on each of the platforms. IIRC, on Windows you can turn that off and use the old generic code if you use the wx.SP_NO_XP_THEME style. Otherwise as you've discovered you can use border styles on the child windows.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!