Added GetMessage to those that are undef'ed and reimplemented as
inlines for wxMSW. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,7 +144,20 @@
|
|||||||
return GetObjectW(h, i, buffer);
|
return GetObjectW(h, i, buffer);
|
||||||
#else
|
#else
|
||||||
return GetObjectA(h, i, buffer);
|
return GetObjectA(h, i, buffer);
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef GetMessage
|
||||||
|
#undef GetMessage
|
||||||
|
inline int GetMessage(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax)
|
||||||
|
{
|
||||||
|
#ifdef _UNICODE
|
||||||
|
return GetMessageW(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
|
||||||
|
#else
|
||||||
|
return GetMessageA(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user