]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/scroll/scroll.cpp
Corrected wxStringListBase implementation of
[wxWidgets.git] / samples / scroll / scroll.cpp
index db04ec3db1ea2b858e2528acc6747c7c18cf8b26..1bec08436a3c29920185a0b15f11fea9cf136290 100644 (file)
@@ -830,7 +830,6 @@ void MyAutoTimedScrollingWindow::OnDraw(wxDC& dc)
     // draw the characters
     // 1. for each update region
     for (wxRegionIterator upd(GetUpdateRegion()); upd; ++upd) {
-        wxSize clientSize = GetClientSize();
         wxRect updRect = upd.GetRect();
         wxRect updRectInGChars(DeviceCoordsToGraphicalChars(updRect));
         // 2. for each row of chars in the update region