Hi,
On 07/03/2015 01:35, Robin Dunn wrote:
> Chris Norman wrote:
>> Hiya all,
>> I’m having a bit of a struggle wrestling wx.TextCtrl into shape on Mac
>> OS X (latest).
>>
>> My first, and most significant problem, is that wx.TextCtrl.PositionToXY
>> doesn’t seem to work on this platform, returning some ridiculously high
>> numbers. Is this a known thing?
>
> It doesn't look like it is implemented on Mac. The stub
> implementation simply returns False and doesn't touch the x and y
> values, which is why you are seeing garbage values there.
I just wrote a PositionToXY function for my custom class which seems to
work. Is there a way I can submit it for possible inclusion in the mail
project? It would be nice to contribute some code to WX, and it's not
very often I make something I think will be useful! :-)
>
>>
>> Secondly, wx.TE_PROCESS_ENTER seems to be completely ignored. I’m having
>> to use wx.WXK_KEY_UP, and check if it’s the enter key with no modifiers.
>>
>
> It looks like it is supposed to be working, but I can confirm that it
> doesn't. I'll dig into it a little more.
Thank you. As I say, I have it working with wx.WXK_KEY_*, but I'd have
thought wx.TE_PROCESS_ENTER should be respected.