From 7d9f3caf3449ed4eab2c22a00c507b37eefe6985 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 24 Mar 2009 11:01:14 +0000 Subject: [PATCH] Patch level : 10.0 268 Files correlati : xvaga.dll Ricompilazione Demo : [ ] Commento : Corretta espansione automatica degli alberi git-svn-id: svn://10.65.10.50/trunk@18598 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- xvaga/xvtctl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xvaga/xvtctl.cpp b/xvaga/xvtctl.cpp index 84fce145a..b587a9360 100755 --- a/xvaga/xvtctl.cpp +++ b/xvaga/xvtctl.cpp @@ -990,6 +990,7 @@ void TwxTreeCtrl::OnSelected(wxTreeEvent& evt) void TwxTreeCtrl::OnActivated(wxTreeEvent& evt) { +#if wxCHECK_VERSION(2,8,10) const wxTreeItemId id = evt.GetItem(); if (ItemHasChildren(id)) { @@ -998,6 +999,7 @@ void TwxTreeCtrl::OnActivated(wxTreeEvent& evt) else Expand(id); } +#endif OnClick(evt, true); }