Fix wrong printf() format specifiers in the screenshotgen util.
Use "%ld" for long values, not "%d".
This commit is contained in:
parent
2f3d0d9629
commit
d15bfe8794
@ -240,8 +240,8 @@ void GUIFrame::AddPanel_2()
|
||||
m_listCtrl1->InsertColumn(0, "Names");
|
||||
m_listCtrl1->InsertColumn(1, "Values");
|
||||
for(long index = 0; index < 5; index++) {
|
||||
m_listCtrl1->InsertItem( index, wxString::Format(_("Item%d"),index));
|
||||
m_listCtrl1->SetItem(index, 1, wxString::Format("%d", index));
|
||||
m_listCtrl1->InsertItem( index, wxString::Format(_("Item%ld"),index));
|
||||
m_listCtrl1->SetItem(index, 1, wxString::Format("%ld", index));
|
||||
}
|
||||
m_listCtrl1->SetToolTip( _("wxListCtrl") );
|
||||
fgSizer2->Add( m_listCtrl1, m_commonExpandFlags);
|
||||
|
Loading…
Reference in New Issue
Block a user