#include <gdk/gdk.h>
#include <gtk/gtk.h>
-#if wxUSE_GRAPHICS_CONTEXT
-#include "wx/graphics.h"
-#endif
-
//-----------------------------------------------------------------------------
// wxMemoryDCImpl
//-----------------------------------------------------------------------------
m_fontdesc = pango_font_description_copy( pango_context_get_font_description( m_context ) );
}
-#if wxUSE_GRAPHICS_CONTEXT
-wxGraphicsContext* wxMemoryDCImpl::CreateGraphicsContext()
-{
- wxMemoryDC *memdc = (wxMemoryDC*) GetOwner();
- return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext( *memdc );
-}
-#endif
-
void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap )
{
Destroy();
else
{
m_ok = false;
- m_gdkwindow = (GdkWindow *) NULL;
+ m_gdkwindow = NULL;
}
}