fix format mismatch warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-10-08 23:15:42 +00:00
parent 62b51bfb30
commit e79322ef0a

View File

@ -416,8 +416,8 @@ bool wxRichTextIndentsSpacingPage::TransferDataToWindow()
if (attr->HasLeftIndent())
{
wxString leftIndent(wxString::Format(wxT("%d"), attr->GetLeftIndent() + attr->GetLeftSubIndent()));
wxString leftFirstIndent(wxString::Format(wxT("%d"), attr->GetLeftIndent()));
wxString leftIndent(wxString::Format(wxT("%ld"), attr->GetLeftIndent() + attr->GetLeftSubIndent()));
wxString leftFirstIndent(wxString::Format(wxT("%ld"), attr->GetLeftIndent()));
m_indentLeft->SetValue(leftIndent);
m_indentLeftFirst->SetValue(leftFirstIndent);
@ -430,7 +430,7 @@ bool wxRichTextIndentsSpacingPage::TransferDataToWindow()
if (attr->HasRightIndent())
{
wxString rightIndent(wxString::Format(wxT("%d"), attr->GetRightIndent()));
wxString rightIndent(wxString::Format(wxT("%ld"), attr->GetRightIndent()));
m_indentRight->SetValue(rightIndent);
}