X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28c98a77e93d2f3d4254dc757c431c523070e89d..80c82e01758cd838aa5c922b848454277b11da26:/src/mac/stattext.cpp?ds=sidebyside diff --git a/src/mac/stattext.cpp b/src/mac/stattext.cpp index bc89591282..5509db4ddd 100644 --- a/src/mac/stattext.cpp +++ b/src/mac/stattext.cpp @@ -76,7 +76,6 @@ void wxStaticText::DrawParagraph(wxDC &dc, wxString paragraph, int &y) int x = 0 ; - int i = 0 ; bool linedrawn = true; while( paragraph.Length() > 0 ) { @@ -157,7 +156,7 @@ void wxStaticText::OnDraw( wxDC &dc ) } wxString paragraph; - int i = 0 ; + size_t i = 0 ; wxString text = m_label; int y = 0 ; while (i < text.Length())