64-bit warning fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-10-02 05:36:31 +00:00
parent 0219fd2faa
commit b143cf708b
11 changed files with 26 additions and 28 deletions

View File

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