Skip to content

Commit

Permalink
修正:功能 - 异步发送消息通知消息时,VirtualWnd失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qdtroy authored and wlc committed Feb 23, 2024
1 parent 19646fc commit 59e87b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DuiLib/Control/UIMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ namespace DuiLib {
CMenuElementUI::CMenuElementUI():
m_pWindow(NULL),
m_bDrawLine(false),
m_dwLineColor(DEFAULT_LINE_COLOR),
m_dwLineColor((DWORD)DEFAULT_LINE_COLOR),
m_bCheckItem(false),
m_bShowExplandIcon(false)
{
Expand Down
1 change: 1 addition & 0 deletions DuiLib/Core/UIManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2646,6 +2646,7 @@ namespace DuiLib {
}
else {
TNotifyUI *pMsg = new TNotifyUI;
pMsg->sVirtualWnd = Msg.sVirtualWnd;
pMsg->pSender = Msg.pSender;
pMsg->sType = Msg.sType;
pMsg->wParam = Msg.wParam;
Expand Down

0 comments on commit 59e87b3

Please sign in to comment.