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:
@@ -32,6 +32,10 @@
|
|||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __WXGTK__
|
||||||
|
#include "wx/gtk/win_gtk.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/graphics.h"
|
#include "wx/graphics.h"
|
||||||
|
|
||||||
#if wxUSE_GRAPHICS_CONTEXT
|
#if wxUSE_GRAPHICS_CONTEXT
|
||||||
@@ -1271,7 +1275,7 @@ wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeContext( void * cont
|
|||||||
wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeWindow( void * window )
|
wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeWindow( void * window )
|
||||||
{
|
{
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
return new wxCairoContext(this,(GdkDrawable)window);
|
return new wxCairoContext(this,(GdkDrawable*)window);
|
||||||
#else
|
#else
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user