}
else
{
- wxFAIL_MSG( "invalid gradient stop position >= 1" );
+ wxFAIL_MSG( "invalid gradient stop position > 1" );
}
}
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
}
+
+#ifdef __WXMSW__
+/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxEnhMetaFileDC& dc)
+{
+ return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
+}
#endif
+#endif // wxUSE_PRINTING_ARCHITECTURE
+
wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContextFromNativeContext(context);