From f6116855f0ee3d3c4e570a2738cb727a7c58460c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 4 Jul 2002 19:08:39 +0000 Subject: [PATCH] Corrected my wrong application of patch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dcclient.cpp | 2 +- src/gtk1/dcclient.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 13c896c00e..84b8ede60f 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -203,7 +203,7 @@ static void wxInitGCPool() static void wxCleanUpGCPool() { - for (int i = 0; i < GC_POOL_SIZE; i++) + for (int i = 0; i < wxGCPoolSize; i++) { if (wxGCPool[i].m_gc) gdk_gc_unref( wxGCPool[i].m_gc ); diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 13c896c00e..84b8ede60f 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -203,7 +203,7 @@ static void wxInitGCPool() static void wxCleanUpGCPool() { - for (int i = 0; i < GC_POOL_SIZE; i++) + for (int i = 0; i < wxGCPoolSize; i++) { if (wxGCPool[i].m_gc) gdk_gc_unref( wxGCPool[i].m_gc ); -- 2.45.2