]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/print.cpp
Fix deprecating warning introduced in r72446.
[wxWidgets.git] / src / gtk / print.cpp
index 6ead61516852ce7da46708f6daf03e925dabf18d..7ef941c86264676ed84612c0fedbaf21c6ee3de2 100644 (file)
@@ -1216,6 +1216,11 @@ void* wxGtkPrinterDCImpl::GetCairoContext() const
     return (void*) cairo_reference( m_cairo );
 }
 
+void* wxGtkPrinterDCImpl::GetHandle() const
+{
+    return GetCairoContext();
+}
+
 bool wxGtkPrinterDCImpl::DoFloodFill(wxCoord WXUNUSED(x1),
                                wxCoord WXUNUSED(y1),
                                const wxColour& WXUNUSED(col),