From 844e5ad37ffcffb0467dc643c1dd0749f48d7d0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 8 Feb 2002 00:16:20 +0000 Subject: [PATCH] fixed wxPageSetupDialogData::SetPaperId() to take value, not reference git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cmndata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 0688f00f38..8a637910e3 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -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); -- 2.45.2