diff --git a/samples/thread/thread.cpp b/samples/thread/thread.cpp index 6b0903cb82..1e5c3ee9fb 100644 --- a/samples/thread/thread.cpp +++ b/samples/thread/thread.cpp @@ -479,7 +479,7 @@ MyFrame::DoLogRecord(wxLogLevel level, wxDateTime(info.timestamp).FormatISOTime(), info.threadId == wxThread::GetMainId() ? wxString("main") - : wxString::Format("%x", info.threadId), + : wxString::Format("%lx", info.threadId), msg + "\n" ); }