]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmndata.h
Made wxClientDC's use safe as per wxMSW.
[wxWidgets.git] / include / wx / cmndata.h
index b8faa2b9a88330fe297690af1cab217ece22ee69..4c58ded722a4342a47da727eeade1deadbe82e85 100644 (file)
@@ -316,6 +316,8 @@ public:
     // paper size id member as well.
     void SetPaperSize(const wxSize& sz);
 
+    void SetPaperId(wxPaperSize& id) { m_printData.SetPaperId(id); };
+
     // Sets the wxPrintData id, plus the paper width/height if found in the paper database.
     void SetPaperSize(wxPaperSize id);