]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcclient.cpp
Committing in .
[wxWidgets.git] / src / msw / dcclient.cpp
index 8cef83d45b8ca8b9b4bb386506284e44410bc004..d853cf580eafd5a10763882121c4b132161c9818 100644 (file)
@@ -237,7 +237,7 @@ wxPaintDC::~wxPaintDC()
         {
             ::EndPaint(GetHwndOf(m_canvas), &g_paintStruct);
 
-            ms_cache.Remove(index);
+            ms_cache.RemoveAt(index);
 
             // Reduce the number of bogus reports of non-freed memory
             // at app exit