[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Input-sequence editor testing

From: Greg Chicares
Subject: Re: [lmi] Input-sequence editor testing
Date: Fri, 24 Jun 2011 13:39:43 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20110414 Thunderbird/3.1.10

On 2011-06-24 13:12Z, Greg Chicares wrote:
> Please help me understand: an 'eventSink' parameter is used here...
> ...and in two similar new calls to ::Connect(); and that parameter is
> 'this' in all cases, which is the default argument...

More precisely, the default parameter is NULL, but the documentation:
says "If it is omitted, this is used". And the wx-2.9 documentation:
seems the same, so I'm guessing that this change isn't required for
wx-2.9.2 compatibility. I suppose the documentation means that wx
detects the NULL default and uses 'this' instead in that case. But I
still don't understand why we can't just omit it.

I tried omitting it experimentally, though, and it crashed, so there
definitely seems to be something important that I'm just not seeing.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]