Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-04-28 17:07:14 +00:00
parent 670f993563
commit 33cf9a1922
4 changed files with 8 additions and 8 deletions

View File

@@ -1498,7 +1498,7 @@ void MyPanel::OnSpinCtrl(wxSpinEvent& event)
if ( m_spinctrl )
{
wxString s;
s.Printf( _T("Spin ctrl changed: now %d (from event: %ld)\n"),
s.Printf( _T("Spin ctrl changed: now %d (from event: %d)\n"),
m_spinctrl->GetValue(), event.GetInt() );
m_text->AppendText(s);
}
@@ -1509,7 +1509,7 @@ void MyPanel::OnSpinCtrlUp(wxSpinEvent& event)
if ( m_spinctrl )
{
m_text->AppendText( wxString::Format(
_T("Spin up: %d (from event: %ld)\n"),
_T("Spin up: %d (from event: %d)\n"),
m_spinctrl->GetValue(), event.GetInt() ) );
}
}
@@ -1519,7 +1519,7 @@ void MyPanel::OnSpinCtrlDown(wxSpinEvent& event)
if ( m_spinctrl )
{
m_text->AppendText( wxString::Format(
_T("Spin down: %d (from event: %ld)\n"),
_T("Spin down: %d (from event: %d)\n"),
m_spinctrl->GetValue(), event.GetInt() ) );
}
}