diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 0fee1a39e9..4d58a67d77 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -905,7 +905,7 @@ bool wxThreadInternal::Suspend() DWORD nSuspendCount = ::SuspendThread(m_hThread); if ( nSuspendCount == (DWORD)-1 ) { - wxLogSysError(_("Cannot suspend thread %x"), m_hThread); + wxLogSysError(_("Cannot suspend thread %lx"), GetThreadId(m_hThread)); return false; } @@ -920,7 +920,7 @@ bool wxThreadInternal::Resume() DWORD nSuspendCount = ::ResumeThread(m_hThread); if ( nSuspendCount == (DWORD)-1 ) { - wxLogSysError(_("Cannot resume thread %x"), m_hThread); + wxLogSysError(_("Cannot resume thread %lx"), GetThreadId(m_hThread)); return false; }