wxHtmlWindow now grabs the focus when clicked on. (Didn't all windows
do this automatically in the past?) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -665,6 +665,7 @@ void wxHtmlWindow::OnMouseEvent(wxMouseEvent& event)
|
|||||||
|
|
||||||
if (event.ButtonDown())
|
if (event.ButtonDown())
|
||||||
{
|
{
|
||||||
|
SetFocus();
|
||||||
if ( m_Cell )
|
if ( m_Cell )
|
||||||
{
|
{
|
||||||
int sx, sy;
|
int sx, sy;
|
||||||
|
Reference in New Issue
Block a user