Bug with scrollbars in grid demos

I am running under MSW with wxPython 2.8.1.1. From the grid demo I experience a problem with the following examples:

   wx.Grid showing Editors and Renderers
   wx.Grid using a custom Table, with non-string data
   Remapping keys to behave differently
   Shows how to create a custom Cell Editor
   A wx.Grid with dragable rows and columns

The problem is the following: the grid examples which don't fit in the window start with scrollbars. I press the maximise button and now the elements fit on screen, thus the scrollbars disappear. I press again the maximise button and the size is restored, but the scrollbars don't appear until I double click an editable cell. If there are no editable cells, the scrollbars are gone for good.

Maximisation is not required to see the bug. In the example wx.Grid using a custom Table, with non-string data, I can resize the window so that the table fits the screen. When I resize again to make it smaller, the scrollbars don't appear.

Is this a bug or is it that the examples fail to catch/handle some event correctly? I have tested 2.8.0.1 and there all examples work correctly.

···

--
Grzegorz Adam Hankiewicz, Jefe de producto de TeraVial
Rastertech España S.A. Tel: +34 918 467 390, ext 18.
http://www.rastertech.es/ ghankiewicz@rastertech.es

Grzegorz Adam Hankiewicz wrote:

Is this a bug or is it that the examples fail to catch/handle some event correctly? I have tested 2.8.0.1 and there all examples work correctly.

It's a bug. I'm looking into it.

···

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