X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43147cef6c33e9024ef1d1ae7b659fa4c696f2dd..bbd92d1dbea02db8c28e9c17bfacc0563d855b25:/src/mac/carbon/treectrl.cpp diff --git a/src/mac/carbon/treectrl.cpp b/src/mac/carbon/treectrl.cpp index 7977dabef9..82a90b0854 100644 --- a/src/mac/carbon/treectrl.cpp +++ b/src/mac/carbon/treectrl.cpp @@ -308,13 +308,13 @@ bool wxTreeCtrl::ExpandItem(long item, int action) bIsExpanded ? wxEVT_COMMAND_TREE_ITEM_EXPANDING : wxEVT_COMMAND_TREE_ITEM_COLLAPSING); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); event.SetEventType( bIsExpanded ? wxEVT_COMMAND_TREE_ITEM_EXPANDED : wxEVT_COMMAND_TREE_ITEM_COLLAPSED); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); } return bOk;