[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Re[2]: wxFlexGridSizer documentation (was: Wrong wxFlexGridSizer u
From: |
Vadim Zeitlin |
Subject: |
[lmi] Re[2]: wxFlexGridSizer documentation (was: Wrong wxFlexGridSizer usage in about_dialog.cpp) |
Date: |
Fri, 15 Jan 2010 02:33:12 +0100 |
[this is a separate branch of the original thread, unrelated to LMI itself]
On Mon, 11 Jan 2010 17:32:13 +0000 Greg Chicares <address@hidden> wrote:
GC> > In previous wx version (until 2.9.0) using wxFlexGridSizer ctor with 2
GC> > arguments used wxFlexGridSizer(int cols, int vgap = 0, int hgap = 0)
GC> > overload. I.e. what this call did was creating a sizer with automatically
GC> > determined number of columns, vertical gap between rows of 1 pixel and
GC> > horizontal gap of 0 pixels.
GC>
GC> That's not what I intended to do, of course. BTW, the documentation:
GC> http://docs.wxwidgets.org/trunk/classwx_flex_grid_sizer.html
GC> isn't as clear as it might be--for instance:
GC>
GC> wxFlexGridSizer::wxFlexGridSizer
GC> (int cols,
GC> const wxSize & gap = wxSize(0, 0)
GC> )
GC> [...] If the number of rows is explicitly specified [...]
GC>
GC> Apparently the same description is used for every ctor, but this ctor
GC> offers no way to specify the number of rows.
For technical reasons we can't both avoid duplicating the common
parameters documentation (e.g. gap) and provide overload-specific
descriptions. So I did what I could and just tried to explain everything
more clearly in the common description, please see the updated version at
http://docs.wxwidgets.org/trunk/classwx_grid_sizer.html (once it updates
in a few hours...)
Thanks for noticing this,
VZ
- Re: Re[2]: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, (continued)
- Re: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, Greg Chicares, 2010/01/20
- Re: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, Greg Chicares, 2010/01/18
- Re[2]: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, Vadim Zeitlin, 2010/01/18
- Re: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, Greg Chicares, 2010/01/20
- Re[2]: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, Vadim Zeitlin, 2010/01/21
- Re: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, Greg Chicares, 2010/01/21
- Re: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp, Greg Chicares, 2010/01/22
[lmi] Re[2]: wxFlexGridSizer documentation (was: Wrong wxFlexGridSizer usage in about_dialog.cpp),
Vadim Zeitlin <=