]> git.saurik.com Git - wxWidgets.git/commitdiff
printf() format warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Apr 2003 11:28:57 +0000 (11:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Apr 2003 11:28:57 +0000 (11:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp

index 9464e3e0f4491bfcc0dc951eeaf74f9fcabe135e..8f7118d094f7e5e6f780639dd6c9c137ca6aaad5 100644 (file)
@@ -817,8 +817,8 @@ void MyFrame::OnFindMenuItem(wxCommandEvent& WXUNUSED(event))
         }
         else
         {
-            wxLogMessage(wxT("Menu item %d in menu %d has label '%s'"),
-                         index, menuindex, label.c_str());
+            wxLogMessage(wxT("Menu item %d in menu %lu has label '%s'"),
+                         index, (unsigned long)menuindex, label.c_str());
         }
     }
 }