]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/graphcmn.cpp
optionally count repeating wxLog messages instead of logging all (patch 1520815)
[wxWidgets.git] / src / common / graphcmn.cpp
index 91894232e424a6e8579a5aa99cfc0d8d16612e03..fe68a237c57dcccabf668a08003b635c752e4e34 100644 (file)
@@ -707,6 +707,12 @@ wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)
 {
     return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
 }
+#ifdef __WXMSW__
+wxGraphicsContext* wxGraphicsContext::Create( const wxMemoryDC& dc) 
+{
+    return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
+}
+#endif
 
 wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
 {