Various distrib things,
Applied patches for HP-UX compilation, Corrected (?) vetoing of tree expansion, Raised version.h to 2.1.10 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -963,7 +963,9 @@ void wxTreeCtrl::Expand(const wxTreeItemId& itemId)
|
||||
wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_EXPANDING, GetId() );
|
||||
event.m_item = item;
|
||||
event.SetEventObject( this );
|
||||
if ( ProcessEvent( event ) && event.m_code )
|
||||
|
||||
// if ( ProcessEvent( event ) && event.m_code ) TODO: Was this a typo ?
|
||||
if ( ProcessEvent( event ) && !event.IsAllowed() )
|
||||
{
|
||||
// cancelled by program
|
||||
return;
|
||||
|
Reference in New Issue
Block a user