From: Václav Slavík Date: Fri, 8 Feb 2002 00:16:20 +0000 (+0000) Subject: fixed wxPageSetupDialogData::SetPaperId() to take value, not reference X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/844e5ad37ffcffb0467dc643c1dd0749f48d7d0c?ds=inline 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 --- 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);