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:
Robert Roebling
2001-08-21 11:12:42 +00:00
parent decb3a6a16
commit c9c4b3a009
3 changed files with 10 additions and 3 deletions

View File

@@ -298,6 +298,8 @@ bool wxScrolledWindow::Create(wxWindow *parent,
if (m_parent)
m_parent->DoAddChild( this );
m_focusWidget = m_wxwindow;
PostCreation();