RemoveGrowableCol behaviour on different platforms

Hi

A piece of code that works on FreeBSD but fails on Microsoft W2000.

if __name__ == '__main__':
    import wx
    class rmApp(wx.App):
        def OnInit(self):
            self.frame = wx.Frame(None, -1, 'RemoveGrowableCol Test',
                                  wx.DefaultPosition, wx.DefaultSize,
                                  wx.DEFAULT_FRAME_STYLE)
            sizer = wx.FlexGridSizer()
            self.frame.SetSizer(sizer)
            self.SetTopWindow(self.frame)
            self.frame.Show()
            return True
    app = rmApp()
    growable = (True, False, True)
    flexgrid = app.frame.GetSizer()
    flexgrid.SetCols(len(growable))
    i = 0
    for g in growable:
        if g:
            flexgrid.AddGrowableCol(i)
        else:
            flexgrid.RemoveGrowableCol(i)
        i += 1
    for i in range(len(growable) * 5):
        flexgrid.Add(wx.StaticText(app.frame, -1, str(i)))
    app.MainLoop()

On FreeBSD the result is three columns of data with the first and last columns increasing size to fill available space and the middle column being just big enough for its data. As expected from documentation.
FreeBSD 6.1; Python 2.4.3_3; py24-wxPython...-2.6.3.3; wxgtk2...-2.6.3
Python 2.4.3 (#2, Nov 29 2006, 23:36:50)
[GCC 3.4.4 [FreeBSD] 20050518] on freebsd6
Type "help", "copyright", "credits" or "license" for more information.
>>>

Now copied to W2000 platform following real code history.

On W2000 the result is the message (session above freezes: text copied from real session which is rescued by subsequent events somehow):

  File "C:\Python24\Lib\site-packages\wx-2.6-msw-ansi\wx\_core.py", line 12448, in RemoveGrowableCol
    return _core_.FlexGridSizer_RemoveGrowableCol(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed in ..\..\include\wx/dynarray.h(964): removing inexisting element in wxArray::Remove

W2000 SP4; Python 2.4.4; wxPython 2.6.3.3(ansi); whatever wxWidgets came with installer.
Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Presumably the code should have the same behaviour in these two cases.

Sorry if later version fixes problem but I found no mention.

Thanks

Roger