Added configure patch for DEC
Tried to find a DnD bug. Corrected a tree ctrl bug. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1327,14 +1327,17 @@ void wxTreeCtrl::OnChar( wxKeyEvent &event )
|
||||
if (!prev)
|
||||
{
|
||||
prev = GetParent( m_current );
|
||||
long cockie = 0;
|
||||
wxTreeItemId current = m_current;
|
||||
if (current == GetFirstChild( prev, cockie ))
|
||||
{
|
||||
// otherwise we return to where we came from
|
||||
SelectItem( prev );
|
||||
EnsureVisible( prev );
|
||||
break;
|
||||
if (prev)
|
||||
{
|
||||
long cockie = 0;
|
||||
wxTreeItemId current = m_current;
|
||||
if (current == GetFirstChild( prev, cockie ))
|
||||
{
|
||||
// otherwise we return to where we came from
|
||||
SelectItem( prev );
|
||||
EnsureVisible( prev );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (prev)
|
||||
|
Reference in New Issue
Block a user