#if !defined(__WXMOTIF__) && !defined(__WIN16__) // wxStaticBitmap not working under Motif yet; and icons not allowed under WIN16.
wxIcon icon = wxArtProvider::GetIcon(wxART_INFORMATION);
- wxStaticBitmap *bmpStatic = new wxStaticBitmap(panel, -1, icon,
- wxPoint(10, 10));
+ (void) new wxStaticBitmap( panel, -1, icon, wxPoint(10, 10) );
// VZ: don't leak memory
// bmpStatic = new wxStaticBitmap(panel, -1, wxNullIcon, wxPoint(50, 10));
if ( m_spinctrl )
{
wxString s;
- s.Printf(_T("Spin ctrl text changed: now %d (from event: %s)\n"),
- m_spinctrl->GetValue(), event.GetString());
+ s.Printf( _T("Spin ctrl text changed: now %d (from event: %s)\n"),
+ m_spinctrl->GetValue(), event.GetString().c_str() );
m_text->AppendText(s);
}
}
if ( m_spinctrl )
{
wxString s;
- s.Printf(_T("Spin ctrl changed: now %d (from event: %d)\n"),
- m_spinctrl->GetValue(), event.GetInt());
+ s.Printf( _T("Spin ctrl changed: now %d (from event: %ld)\n"),
+ m_spinctrl->GetValue(), event.GetInt() );
m_text->AppendText(s);
}
}
{
if ( m_spinctrl )
{
- m_text->AppendText(wxString::Format(_T("Spin up: %d (from event: %d)\n"),
- m_spinctrl->GetValue(), event.GetInt()));
+ m_text->AppendText( wxString::Format(
+ _T("Spin up: %d (from event: %ld)\n"),
+ m_spinctrl->GetValue(), event.GetInt() ) );
}
}
{
if ( m_spinctrl )
{
- m_text->AppendText(wxString::Format(_T("Spin down: %d (from event: %d)\n"),
- m_spinctrl->GetValue(), event.GetInt()));
+ m_text->AppendText( wxString::Format(
+ _T("Spin down: %d (from event: %ld)\n"),
+ m_spinctrl->GetValue(), event.GetInt() ) );
}
}