X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fd716136a961ab6038996343e42257c2d81aac2..6a1df26215f28e267d72e62475136ca1a0c248ad:/samples/scroll/scroll.cpp diff --git a/samples/scroll/scroll.cpp b/samples/scroll/scroll.cpp index f9adc6f43f..874783a1bb 100644 --- a/samples/scroll/scroll.cpp +++ b/samples/scroll/scroll.cpp @@ -1240,7 +1240,7 @@ void MyAutoScrollingWindow::OnDraw(wxDC& dc) dc.SetPen(*wxTRANSPARENT_PEN); const wxString str = sm_testData; size_t strLength = str.length(); - wxString::const_iterator str_i; + wxString::const_iterator str_i = str.begin(); // draw the characters // 1. for each update region