]> git.saurik.com Git - wxWidgets.git/commitdiff
new method needed for screendc
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 20 Oct 2006 20:46:07 +0000 (20:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 20 Oct 2006 20:46:07 +0000 (20:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/graphics.h

index 32ee35228f639647adb66d84f897bb643f412e41..8250ec03abb6f9ad35e519bf4609af40eafaaefd 100755 (executable)
@@ -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 ...