]> git.saurik.com Git - wxWidgets.git/commitdiff
fix format mismatch warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 23:15:42 +0000 (23:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 23:15:42 +0000 (23:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextindentspage.cpp

index 9175242a9d56673d9a8f13cfff4c6b5ccc9ad1f5..4630a94fe0ce75f424ba94caff9fe9d2e3f7d250 100644 (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);
     }