rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread

This commit is contained in:
Vincent Wei
2020-02-17 16:20:07 +08:00
parent 628c27fc7a
commit 5cb8662ec8
+2 -2
View File
@@ -703,7 +703,7 @@ static inline MSGQUEUE* isWindowInThisThread (HWND hWnd)
return NULL;
}
static inline MSGQUEUE* getMsgQueueByWindowInThisThread (HWND hWnd)
static inline MSGQUEUE* getMsgQueueIfWindowInThisThread (HWND hWnd)
{
PMAINWIN pMainWin = getMainWindowPtr(hWnd);
#ifdef WIN32
@@ -733,7 +733,7 @@ static inline BOOL isWindowInThisThread (HWND hWnd)
return TRUE;
}
static inline MSGQUEUE* getMsgQueueByWindowInThisThread (HWND hWnd)
static inline MSGQUEUE* getMsgQueueIfWindowInThisThread (HWND hWnd)
{
return __mg_dsk_msg_queue;
}