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:
parent
62b51bfb30
commit
e79322ef0a
@ -416,8 +416,8 @@ bool wxRichTextIndentsSpacingPage::TransferDataToWindow()
|
|||||||
|
|
||||||
if (attr->HasLeftIndent())
|
if (attr->HasLeftIndent())
|
||||||
{
|
{
|
||||||
wxString leftIndent(wxString::Format(wxT("%d"), attr->GetLeftIndent() + attr->GetLeftSubIndent()));
|
wxString leftIndent(wxString::Format(wxT("%ld"), attr->GetLeftIndent() + attr->GetLeftSubIndent()));
|
||||||
wxString leftFirstIndent(wxString::Format(wxT("%d"), attr->GetLeftIndent()));
|
wxString leftFirstIndent(wxString::Format(wxT("%ld"), attr->GetLeftIndent()));
|
||||||
|
|
||||||
m_indentLeft->SetValue(leftIndent);
|
m_indentLeft->SetValue(leftIndent);
|
||||||
m_indentLeftFirst->SetValue(leftFirstIndent);
|
m_indentLeftFirst->SetValue(leftFirstIndent);
|
||||||
@ -430,7 +430,7 @@ bool wxRichTextIndentsSpacingPage::TransferDataToWindow()
|
|||||||
|
|
||||||
if (attr->HasRightIndent())
|
if (attr->HasRightIndent())
|
||||||
{
|
{
|
||||||
wxString rightIndent(wxString::Format(wxT("%d"), attr->GetRightIndent()));
|
wxString rightIndent(wxString::Format(wxT("%ld"), attr->GetRightIndent()));
|
||||||
|
|
||||||
m_indentRight->SetValue(rightIndent);
|
m_indentRight->SetValue(rightIndent);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user