X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/676e9e35f2063271b614b7ba78fd44d8c7e9c5a2..d37b709c4b94d8690f9fe6adbdc1246e9f51bf4e:/samples/regtest/regtest.cpp?ds=sidebyside diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index ec9b979988..4ead1d3df7 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -714,7 +714,7 @@ void RegTreeCtrl::OnSelChanged(wxTreeEvent& event) void RegTreeCtrl::OnItemExpanding(wxTreeEvent& event) { TreeNode *pNode = GetNode(event); - bool bExpanding = event.GetEventType() == wxEVT_TREE_ITEM_EXPANDING; + bool bExpanding = event.GetEventType() == wxEVT_COMMAND_TREE_ITEM_EXPANDING; // expansion might take some time wxSetCursor(*wxHOURGLASS_CURSOR);