Re: pgAdmin III commit: Include a variant of sysSettings::Write() that take

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgAdmin III commit: Include a variant of sysSettings::Write() that take
Дата
Msg-id AANLkTin=44pYtJCigjf2-QZhnG24=zhq5hpryOWTHGh_@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgAdmin III commit: Include a variant of sysSettings::Write() that take  (Dave Page <dpage@pgadmin.org>)
Ответы Re: pgAdmin III commit: Include a variant of sysSettings::Write() that take  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
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

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin III commit: Include a variant of sysSettings::Write() that take
Следующее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin III commit: Include a variant of sysSettings::Write() that take