From bf2185eb8bc23df2a257a9af90720aab4a3b0e7e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 20 Oct 2006 20:46:07 +0000 Subject: [PATCH] new method needed for screendc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/graphics.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 32ee35228f..8250ec03ab 100755 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -129,8 +129,11 @@ public: static wxGraphicsContext* Create( const wxWindowDC& dc) ; - static wxGraphicsContext* CreateFromNative( void * native ) ; + static wxGraphicsContext* CreateFromNative( void * context ) ; +#ifdef __WXMAC__ + static wxGraphicsContext* CreateFromNativeWindow( void * window ) ; +#endif static wxGraphicsContext* Create( wxWindow* window ) ; // creates a path instance that corresponds to the type of graphics context, ie GDIPlus, cairo, CoreGraphics ... -- 2.45.2