fixed Printf() format spec warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-09-08 18:11:02 +00:00
parent e91d2033ee
commit 0c61716c79
3 changed files with 10 additions and 9 deletions

View File

@@ -428,7 +428,7 @@ void ListboxWidgetsPage::OnButtonClear(wxCommandEvent& event)
void ListboxWidgetsPage::OnButtonAdd(wxCommandEvent& event)
{
static size_t s_item = 0;
static unsigned int s_item = 0;
wxString s = m_textAdd->GetValue();
if ( !m_textAdd->IsModified() )
@@ -443,7 +443,7 @@ void ListboxWidgetsPage::OnButtonAdd(wxCommandEvent& event)
void ListboxWidgetsPage::OnButtonAddMany(wxCommandEvent& WXUNUSED(event))
{
// "many" means 1000 here
for ( size_t n = 0; n < 1000; n++ )
for ( unsigned int n = 0; n < 1000; n++ )
{
m_lbox->Append(wxString::Format(_T("item #%u"), n));
}