Skip to content

Commit 59e87b3

Browse files
qdtroywlc
authored andcommitted
修正:功能 - 异步发送消息通知消息时,VirtualWnd失效的问题
1 parent 19646fc commit 59e87b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DuiLib/Control/UIMenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ namespace DuiLib {
636636
CMenuElementUI::CMenuElementUI():
637637
m_pWindow(NULL),
638638
m_bDrawLine(false),
639-
m_dwLineColor(DEFAULT_LINE_COLOR),
639+
m_dwLineColor((DWORD)DEFAULT_LINE_COLOR),
640640
m_bCheckItem(false),
641641
m_bShowExplandIcon(false)
642642
{

DuiLib/Core/UIManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2646,6 +2646,7 @@ namespace DuiLib {
26462646
}
26472647
else {
26482648
TNotifyUI *pMsg = new TNotifyUI;
2649+
pMsg->sVirtualWnd = Msg.sVirtualWnd;
26492650
pMsg->pSender = Msg.pSender;
26502651
pMsg->sType = Msg.sType;
26512652
pMsg->wParam = Msg.wParam;

0 commit comments

Comments
 (0)