fix for gcc warning about incorrect format arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1169,8 +1169,9 @@ void MyFrame::OnFileSave(wxCommandEvent& event)
|
|||||||
#if wxUSE_FILE
|
#if wxUSE_FILE
|
||||||
// verify that the fil length is correct (it wasn't under Win95)
|
// verify that the fil length is correct (it wasn't under Win95)
|
||||||
wxFile file(wxT("dummy.txt"));
|
wxFile file(wxT("dummy.txt"));
|
||||||
wxLogStatus(this, _T("Successfully saved file (text len = %ld, file size = %ld)"),
|
wxLogStatus(this,
|
||||||
m_panel->m_textrich->GetValue().length(),
|
_T("Successfully saved file (text len = %lu, file size = %ld)"),
|
||||||
|
(unsigned long)m_panel->m_textrich->GetValue().length(),
|
||||||
file.Length());
|
file.Length());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user