Fixed focus event problems with control derived
from wxScrolledWindow. If wxTreeCtrl has no +/. button, toggle branch, otherwise send activate event upon double-click. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -298,6 +298,8 @@ bool wxScrolledWindow::Create(wxWindow *parent,
|
||||
|
||||
if (m_parent)
|
||||
m_parent->DoAddChild( this );
|
||||
|
||||
m_focusWidget = m_wxwindow;
|
||||
|
||||
PostCreation();
|
||||
|
||||
|
Reference in New Issue
Block a user