]> git.saurik.com Git - wxWidgets.git/commitdiff
printf() format warning fixes
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jun 2003 17:27:57 +0000 (17:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jun 2003 17:27:57 +0000 (17:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/htlbox/htlbox.cpp

index 5c2d7dae6979c54a12a55bb71094071a24a224f4..cd01697565cb971b6df7304668dff92f565e0f28 100644 (file)
     #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: