*TreeCtrl: Hopefuly fixed WindowProc in Paint issue

git-svn-id: svn://ultimatepp.org/upp/trunk@2668 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-09-08 07:06:11 +00:00
parent ca6f49d97f
commit 9989cedd2e

View file

@ -830,7 +830,7 @@ void TreeCtrl::DoClick(Point p, dword flags, bool down)
void TreeCtrl::SyncInfo()
{
if(IsShutdown())
if(IsShutdown() || IsPainting())
return;
if((HasMouse() || info.HasMouse()) && popupex) {
Size sz = GetSize();