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

@@ -411,7 +411,7 @@ void ComboboxWidgetsPage::OnButtonClear(wxCommandEvent& event)
void ComboboxWidgetsPage::OnButtonAdd(wxCommandEvent& event)
{
static size_t s_item = 0;
static unsigned int s_item = 0;
wxString s = m_textAdd->GetValue();
if ( !m_textAdd->IsModified() )
@@ -426,7 +426,7 @@ void ComboboxWidgetsPage::OnButtonAdd(wxCommandEvent& event)
void ComboboxWidgetsPage::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_combobox->Append(wxString::Format(_T("item #%u"), n));
}