From: Vadim Zeitlin Date: Mon, 12 Feb 2007 16:35:02 +0000 (+0000) Subject: compilation fix for last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/419c224122650a63b74d39ea58b94196aeab7697 compilation fix for last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);