Skip to content

Commit 75db613

Browse files
KAndQminggo
authored andcommitted
PostMessage to SendMessage (#20199)
1 parent f2702fb commit 75db613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/base/CCConsole.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ namespace {
114114
if (Director::getInstance()->getOpenGLView())
115115
{
116116
HWND hwnd = Director::getInstance()->getOpenGLView()->getWin32Window();
117-
PostMessage(hwnd,
117+
SendMessage(hwnd,
118118
WM_COPYDATA,
119119
(WPARAM)(HWND)hwnd,
120120
(LPARAM)(LPVOID)&myCDS);

0 commit comments

Comments
 (0)