]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcclient.cpp
added ScrollLines/Pages
[wxWidgets.git] / src / os2 / dcclient.cpp
index 311c1025a32c6416a0baba681ae37b5d3ddccdcb..c034242afef449a6fe60309c8572cbc853f2bb0d 100644 (file)
@@ -335,7 +335,7 @@ wxPaintDC::~wxPaintDC()
             ::WinEndPaint(m_hPS);
             m_hPS          = m_hOldPS;
             m_bIsPaintTime = FALSE;
             ::WinEndPaint(m_hPS);
             m_hPS          = m_hOldPS;
             m_bIsPaintTime = FALSE;
-            ms_cache.Remove(nIndex);
+            ms_cache.RemoveAt(nIndex);
         }
         //else: cached DC entry is still in use
 
         }
         //else: cached DC entry is still in use