Lines Matching refs:wxGCPoolSize
144 static int wxGCPoolSize = 0;
155 wxGCPoolSize = GC_POOL_ALLOC_SIZE;
158 wxGCPool = (wxGC *)malloc(wxGCPoolSize * sizeof(wxGC));
170 memset(wxGCPool, 0, wxGCPoolSize * sizeof(wxGC));
175 for (int i = 0; i < wxGCPoolSize; i++)
183 wxGCPoolSize = 0;
191 for (int i = 0; i < wxGCPoolSize; i++)
210 (wxGCPoolSize + GC_POOL_ALLOC_SIZE)*sizeof(wxGC));
215 memset(&wxGCPool[wxGCPoolSize], 0,
219 wxGCPool[wxGCPoolSize].m_gc = gdk_gc_new( window );
220 gdk_gc_set_exposures( wxGCPool[wxGCPoolSize].m_gc, FALSE );
221 wxGCPool[wxGCPoolSize].m_type = type;
222 wxGCPool[wxGCPoolSize].m_used = true;
225 wxGCPoolSize += GC_POOL_ALLOC_SIZE;
228 return wxGCPool[wxGCPoolSize-GC_POOL_ALLOC_SIZE].m_gc;
239 for (int i = 0; i < wxGCPoolSize; i++)