lmi
[Top][All Lists]
Advanced

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

Re: wxHtmlWindow::AcceptsFocus() [Was: [lmi] Overriding wx member functi


From: Vadim Zeitlin
Subject: Re: wxHtmlWindow::AcceptsFocus() [Was: [lmi] Overriding wx member functions]
Date: Sat, 3 Dec 2005 04:27:38 +0100

On Fri, 02 Dec 2005 15:36:07 +0000 Greg Chicares <address@hidden> wrote:

GC> In wx-2.5.4 at least (we're both getting tired of me saying that),
GC> wxHtmlWindow::AcceptsFocus() returns true. Does that seem right?

 In fact it is right even though I also personally thought it was not (and
so had AcceptsFocus() return false for this class). The reason is that the
keyboard can be used to navigate in the window and also to select text in
the HTML window, so we shouldn't prevent it from getting focus -- just as a
read-only text control still gets it because the user can use keyboard to
select and copy text in it.

 Regards,
VZ





reply via email to

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