]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use %d to print pointer
authorPaul Cornett <paulcor@bullseye.com>
Thu, 7 Dec 2006 05:47:05 +0000 (05:47 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 7 Dec 2006 05:47:05 +0000 (05:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/html/test/test.cpp

index 18dc7cdd4e1b63ae8812f0f10f37e6af63c8ceca..ae1dee0c81998178e3c304f099945b5bb65b3049 100644 (file)
@@ -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!