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);
}
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() ) );
}
}
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() ) );
}
}
void ListboxWidgetsPage::OnListboxDClick(wxCommandEvent& event)
{
- wxLogMessage( _T("Listbox item %ld double clicked"), event.GetInt() );
+ wxLogMessage( _T("Listbox item %d double clicked"), event.GetInt() );
}
void ListboxWidgetsPage::OnCheckListbox(wxCommandEvent& event)
{
- wxLogMessage( _T("Listbox item %ld toggled"), event.GetInt() );
+ wxLogMessage( _T("Listbox item %d toggled"), event.GetInt() );
}
void ListboxWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
static int s_numSliderEvents = 0;
- wxLogMessage(wxT("Slider event #%d: %s (pos = %d, int value = %ld)"),
+ wxLogMessage(wxT("Slider event #%d: %s (pos = %d, int value = %d)"),
s_numSliderEvents++,
eventNames[index],
event.GetPosition(),
void SpinBtnWidgetsPage::OnSpinBtnUp(wxSpinEvent& event)
{
- wxLogMessage( _T("Spin button value incremented, will be %ld (was %d)"),
+ wxLogMessage( _T("Spin button value incremented, will be %d (was %d)"),
event.GetInt(), m_spinbtn->GetValue() );
}
void SpinBtnWidgetsPage::OnSpinBtnDown(wxSpinEvent& event)
{
- wxLogMessage( _T("Spin button value decremented, will be %ld (was %d)"),
+ wxLogMessage( _T("Spin button value decremented, will be %d (was %d)"),
event.GetInt(), m_spinbtn->GetValue() );
}