On Sat, 6 Oct 2012 20:11:26 +0200 Daniel Dekkers wrote:
DD> On Sep 26, 2012, at 6:21 PM, Vadim Zeitlin wrote:
DD>
DD> > On Wed, 26 Sep 2012 17:03:53 +0200 Daniel Dekkers wrote:
DD> >
DD> > DD> I'm using the Cocoa framework.
DD> >
DD> > Please open a ticket on
trac.wxwidgets.org for this bug. Please check if
DD> > you can reproduce it in the listbox page of the widgets sample.
DD>
DD> I really can't because in the sample(s) there is no new selection made
DD> when the current selected item is deleted.
Please just add the missing parts to the sample and attach a patch with
your changes (please see
http://trac.wxwidgets.org/wiki/HowToSubmitPatches
if you hadn't done this before) if possible.
DD> > DD> Found another thing that feels like a bug though: wxTextCtrls don't get
DD> > DD> a kill focus event when a different window is selected (parent window
DD> > DD> of the wxTextCtrl loses focus).
...
DD> Yes:
DD>
http://trac.wxwidgets.org/ticket/14142
DD> I've added a comment and a small demo to that ticket.
DD> Very annoying bug if you want to check (and maybe correct) the validity of user input in a wxTextCtrl without having to resort to some kind of "apply now" control path.
DD> You don't want to check on every wxEVT_COMMAND_TEXT_UPDATED event either, while the user is still typing.
Yes, this is indeed very annoying. I hope Stefan can look into this
though because you could summarize everything I know about focus handling
under Mac on a back of a post stamp with plenty of space remaining.
Regards,
VZ