Don't use DWORD and WXDWORD interchangeably in wxMSW code.
WXDWORD is defined as unsigned long, while DWORD is defined as unsigned int in 64 bit builds using Cygwin gcc, so they are not the same type (although they do have the same size) and using the latter instead of the former in the function definition results in errors in this build configuration. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
302fa5ca5f
commit
f825884f74
@ -233,7 +233,7 @@ bool wxGUIAppTraits::DoMessageFromThreadWait()
|
||||
return evtLoop->Dispatch();
|
||||
}
|
||||
|
||||
DWORD wxGUIAppTraits::WaitForThread(WXHANDLE hThread, int flags)
|
||||
WXDWORD wxGUIAppTraits::WaitForThread(WXHANDLE hThread, int flags)
|
||||
{
|
||||
// We only ever dispatch messages from the main thread and, additionally,
|
||||
// even from the main thread we shouldn't wait for the message if we don't
|
||||
|
Loading…
Reference in New Issue
Block a user