Re: evt.GetUnicodeKey returns int instead of string

Werner <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
On 4/8/2015 18:01, Robin Dunn wrote:
> Werner wrote:
>>
...
>> Phoenix documentation states that GetUnicodeKey should return a string.
>
> Actually, the documentation is incorrect.  The C++ GetUnicodeKey 
> returns a wxChar value, which is a typedef for an integer type of 
> whatever size is appropriate for single unicode values on the platform.
>
> The mistake in the documentation is probably because the sphinx 
> generator is assuming that wxChar is the same as wxChar*, which is a 
> pointer to a buffer of wxChar values, which would usually be thought 
> of as a string-like thing.  So the fix would be to track down where 
> that is happening and change it to treat non-pointer wxChars as int.
Hhm, I'll give it a try to find that.

Werner

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.