Problem: create a notebook and add some tabs to it; add any of the
following style: wxNB_LEFT, wxNB_RIGHT or wxNB_BOTTOM to the notebook's
style. The tabs will be drawn at the correct position (left, right or
bottom) but they will always "grow" from bottom to up (their "linking"
side with the notebook is drawn at their bottom, regardless of their
position - the "linking" side should change with the position of the
tabs: on the right for left position, on the left, for right position
and on top, for bottom position)
Is this a known bug in the windows port ? Do I need to do something else
to make this work correctly ? Is this a problem with my Windows XP /
wxPython installation ?
Problem: create a notebook and add some tabs to it; add any of the
following style: wxNB_LEFT, wxNB_RIGHT or wxNB_BOTTOM to the notebook's
style. The tabs will be drawn at the correct position (left, right or
bottom) but they will always "grow" from bottom to up (their "linking"
side with the notebook is drawn at their bottom, regardless of their
position - the "linking" side should change with the position of the
tabs: on the right for left position, on the left, for right position
and on top, for bottom position)
Is this a known bug in the windows port ?
No it is a known bug in Windows XP, (except I don't think that MS is calling it a "bug"...) The new common controls DLL does not support any more putting the tabs on the left and right sides, and from what I hear most themes (including those from MS) draw the tabs on the bottom incorrectly.
Do I need to do something else
to make this work correctly ?
The only way to make it work as with previous versions (there are many interpretations of what "correctly" might mean in this case,) is to *not* use the new common controls and themes. You can do that by removing the python.exe.manifest file that wxPython installed.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!