Lines Matching refs:wxGCPoolSize
155 static int wxGCPoolSize = 0;
166 wxGCPoolSize = GC_POOL_ALLOC_SIZE;
169 wxGCPool = (wxGC *)malloc(wxGCPoolSize * sizeof(wxGC));
181 memset(wxGCPool, 0, wxGCPoolSize * sizeof(wxGC));
186 for (int i = 0; i < wxGCPoolSize; i++)
194 wxGCPoolSize = 0;
202 for (int i = 0; i < wxGCPoolSize; i++)
221 (wxGCPoolSize + GC_POOL_ALLOC_SIZE)*sizeof(wxGC));
226 memset(&wxGCPool[wxGCPoolSize], 0,
230 wxGCPool[wxGCPoolSize].m_gc = gdk_gc_new( window );
231 gdk_gc_set_exposures( wxGCPool[wxGCPoolSize].m_gc, FALSE );
232 wxGCPool[wxGCPoolSize].m_type = type;
233 wxGCPool[wxGCPoolSize].m_used = true;
236 wxGCPoolSize += GC_POOL_ALLOC_SIZE;
239 return wxGCPool[wxGCPoolSize-GC_POOL_ALLOC_SIZE].m_gc;
250 for (int i = 0; i < wxGCPoolSize; i++)