On 16 February 2011 18:42, Dave Page <dpage@pgadmin.org> wrote:
> The main issue I have with that is that we now have a bunch of
> overloaded Write() members, and WriteBool(). If we're going to deviate
> away from the API in wxConfig (which at least is private), then we
> should do so consistently.
>
> FYI, in wxPython and wxPerl they implement the following:
>
> Write(key, value) Writes a string
> WriteInt(key, value) Writes an integer
> WriteFloat(key, value) Writes a floating point number
> WriteBool(key, value) Writes a boo
I totally agree. What about ctlListView? The fact that its
AppendYesNoItem() member function doesn't overload AppendItem() is, as
I said at the time, logical, because you aren't actually appending a
true or false value - you're appending a "Yes" or a "No".
--
Regards,
Peter Geoghegan