]> git.saurik.com Git - wxWidgets.git/commitdiff
Add GetHandle for wxGnomePrinterDCImpl
authorRobin Dunn <robin@alldunn.com>
Sat, 28 Jul 2012 21:52:37 +0000 (21:52 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 28 Jul 2012 21:52:37 +0000 (21:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/gnome/gprint.h

index 1a44f084b9621ecb4e442803b8b45185df74954c..880a528d60a91621f8fe44a2ec057d2521c1c4cf 100644 (file)
@@ -294,6 +294,8 @@ protected:
     virtual wxRect GetPaperRect() const;
     virtual int GetResolution() const;
 
+    virtual void* GetHandle() const { return (void*)m_gpc; }
+    
 private:
     wxPrintData             m_printData;
     PangoContext           *m_context;