[wxPython] order of wxGridSizer params -- demo vs. docs

Hi,

I'm just trying to figure out why my wxGridSizer isn't laying things out
properly...as part of my fiddling about, I've just noticed an inconsistency
between the comments included in Sizers.py (in the demo), and the wxPython
reference docs. The demo source includes several lines like this:

    gs = wxGridSizer(3, 3, 2, 2) # rows, cols, hgap, vgap

listing the order as (rows, cols, hgap, vgap), while the wxPython docs describe
the constructor of the wxGridSizer like this:

    wxGridSizer(int cols, int rows, int vgap, int hgap)

Where the order is (cols, rows, vgap, hgap).

By having a quick play around, it seems that the wxPython (or rather, the
wxWindows) reference docs are wrong, while the demo is right...is there anything
we can/should do to let the wxWindows guys know about this mistake?

Thanks,

- Erik.

By having a quick play around, it seems that the wxPython (or rather, the
wxWindows) reference docs are wrong, while the demo is right...is there

anything

we can/should do to let the wxWindows guys know about this mistake?

I've just fixed the tex file and checked it in. Thanks.

···

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

Hi Robin,

I've just fixed the tex file and checked it in. Thanks.

Excellent. Thank you!

- Erik.