From 34e2020099dd91f35aba8123bc4c5ba80b961383 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 7 Dec 2006 05:47:05 +0000 Subject: [PATCH 1/1] don't use %d to print pointer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/test/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 18dc7cdd4e..ae1dee0c81 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -322,13 +322,13 @@ void MyFrame::OnHtmlLinkClicked(wxHtmlLinkEvent &event) void MyFrame::OnHtmlCellHover(wxHtmlCellEvent &event) { - wxLogMessage(wxT("Mouse moved over cell %d at %d;%d"), + wxLogMessage(wxT("Mouse moved over cell %p at %d;%d"), event.GetCell(), event.GetPoint().x, event.GetPoint().y); } void MyFrame::OnHtmlCellClicked(wxHtmlCellEvent &event) { - wxLogMessage(wxT("Click over cell %d at %d;%d"), + wxLogMessage(wxT("Click over cell %p at %d;%d"), event.GetCell(), event.GetPoint().x, event.GetPoint().y); // if we don't skip the event, OnHtmlLinkClicked won't be called! -- 2.45.2