From 6170c108a1adc39f002462697d5e0b6c801e74eb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Jun 2003 17:27:57 +0000 Subject: [PATCH] printf() format warning fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/htlbox/htlbox.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/samples/htlbox/htlbox.cpp b/samples/htlbox/htlbox.cpp index 5c2d7dae69..cd01697565 100644 --- a/samples/htlbox/htlbox.cpp +++ b/samples/htlbox/htlbox.cpp @@ -30,6 +30,13 @@ #include "wx/app.h" #include "wx/frame.h" #include "wx/log.h" + #include "wx/sizer.h" + + #include "wx/menu.h" + #include "wx/msgdlg.h" + #include "wx/textctrl.h" + + #include "wx/dc.h" #endif #include "wx/htmllbox.h" @@ -65,12 +72,12 @@ public: void OnLboxSelect(wxCommandEvent& event) { - wxLogMessage(_T("Listbox selection is now %d."), event.GetInt()); + wxLogMessage(_T("Listbox selection is now %ld."), event.GetInt()); } void OnLboxDClick(wxCommandEvent& event) { - wxLogMessage(_T("Listbox item %d double clicked."), event.GetInt()); + wxLogMessage(_T("Listbox item %ld double clicked."), event.GetInt()); } private: