[wx-dev] Re: Ok() and IsOk()

Bill Baxter wbaxter at gmail.com
Wed Oct 4 16:16:31 PDT 2006


On 10/5/06, Francesco Montorsi <f18m_cpp217828 at yahoo.it> wrote:
> Julian Smart ha scritto:
> > perhaps Ok/IsOK should be made interchangeable in all classes, rather
> > than deprecating one or the other.

> > Francesco Montorsi wrote:
> right - this is ok to me (even if I think that all docs should be
> modified to document only the "IsOk" functions - otherwise only the
> small set of people reading this thread would know about this change ;))...
>
> I've posted a smart script which automates all the required changes...

So you mean, like Julian suggests, your script also *adds* Ok()s to
every class that didn't have them before?  It seems unnecessary to add
methods that are basically deprecated from the start.

What's wrong with some classes having only IsOK, and some having both,
with all Ok()'s having no docstrings but regular comments that
indicate they are deprecated.

--bb




More information about the wx-dev mailing list