]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/graphics.cpp
screendc implementation
[wxWidgets.git] / src / mac / carbon / graphics.cpp
index 29c61ab26b5e7d0e399bf01d5b3a03bac7f7ff75..2f778411e3681007d294ccd2a9e4305fc6e7c430 100755 (executable)
@@ -1292,4 +1292,9 @@ wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
     return new wxMacCoreGraphicsContext((CGContextRef)context);
 }
 
+wxGraphicsContext* wxGraphicsContext::CreateFromNativeWindow( void * window )
+{
+    return new wxMacCoreGraphicsContext((WindowRef)window);
+}
+
 #endif // wxMAC_USE_CORE_GRAPHICS