#include "wx/image.h"
#include "wx/module.h"
#include "wx/log.h"
+#include "wx/fontutil.h"
#include "wx/gtk/win_gtk.h"
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 );
#ifdef __WXGTK20__
m_context = gtk_widget_get_pango_context( widget );
+
m_fontdesc = widget->style->font_desc;
#endif
m_font = font;
#ifdef __WXGTK20__
- // fix fontdesc?
+ m_fontdesc = m_font.GetNativeFontInfo()->description;
#endif
}