fixed wxPageSetupDialogData::SetPaperId() to take value, not reference
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Feb 2002 00:16:20 +0000 (00:16 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Feb 2002 00:16:20 +0000 (00:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cmndata.h

index 0688f00f38782cbaf64da75ef740ab8523b64110..8a637910e3fceedbc7651852a6c5a73f1b04eaea 100644 (file)
@@ -343,7 +343,7 @@ public:
     // paper size id member as well.
     void SetPaperSize(const wxSize& sz);
 
-    void SetPaperId(wxPaperSize& id) { m_printData.SetPaperId(id); };
+    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);