Changeset 186 for Mulberry/branches/users/kenneth_porter/FromTrunk/Win32/Sources/Support/Toolbars/CToolbar.cp
- Timestamp:
- 01/26/09 17:17:31 (20 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/users/kenneth_porter/FromTrunk/Win32/Sources/Support/Toolbars/CToolbar.cp
r143 r186 679 679 680 680 // Only if commander available 681 if (GetCommander()) 682 cmdui.DoUpdate(GetCommander(), true); 681 CWnd* commander = GetCommander(); 682 if (commander) 683 // we recreate the CWnd as we got it from another thread 684 cmdui.DoUpdate(CWnd::FromHandle(commander->GetSafeHwnd()), true); 683 685 684 686 // Check for visibility change tied to enable state