fix compile errors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-27 05:32:38 +00:00
parent 0d3675a67b
commit ed1b38a88e

View File

@ -32,6 +32,10 @@
#include "wx/module.h"
#endif
#ifdef __WXGTK__
#include "wx/gtk/win_gtk.h"
#endif
#include "wx/graphics.h"
#if wxUSE_GRAPHICS_CONTEXT
@ -1271,7 +1275,7 @@ wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeContext( void * cont
wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeWindow( void * window )
{
#ifdef __WXGTK__
return new wxCairoContext(this,(GdkDrawable)window);
return new wxCairoContext(this,(GdkDrawable*)window);
#else
return NULL;
#endif