From: Stefan Csomor Date: Fri, 20 Oct 2006 20:46:07 +0000 (+0000) Subject: new method needed for screendc X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bf2185eb8bc23df2a257a9af90720aab4a3b0e7e new method needed for screendc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 ...