]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/text/text.cpp
Applied patch 606235 (Cell overflow refresh fixed).
[wxWidgets.git] / samples / text / text.cpp
index 50e24835aa64697b2ee9b04718af704b29db1996..c48115e70df43549a08f01f957317f638ec6cd6d 100644 (file)
@@ -1169,8 +1169,9 @@ void MyFrame::OnFileSave(wxCommandEvent& event)
 #if wxUSE_FILE
         // verify that the fil length is correct (it wasn't under Win95)
         wxFile file(wxT("dummy.txt"));
-        wxLogStatus(this, _T("Successfully saved file (text len = %ld, file size = %ld)"),
-                    m_panel->m_textrich->GetValue().length(),
+        wxLogStatus(this,
+                    _T("Successfully saved file (text len = %lu, file size = %ld)"),
+                    (unsigned long)m_panel->m_textrich->GetValue().length(),
                     file.Length());
 #endif
     }