From: Paul Cornett Date: Thu, 7 Dec 2006 05:47:05 +0000 (+0000) Subject: don't use %d to print pointer X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/34e2020099dd91f35aba8123bc4c5ba80b961383?ds=sidebyside;hp=3498362ed5759522a9664a70e4da819e51bd2fbe don't use %d to print pointer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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!