X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..2cfcf22d47b7d9cf3c85edfe498c5f23a18a9a19:/src/motif/spinbutt.cpp diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index 439189b6a7..f01ea0a2a4 100644 --- a/src/motif/spinbutt.cpp +++ b/src/motif/spinbutt.cpp @@ -240,7 +240,7 @@ bool wxArrowButton::Create( wxSpinButton* parent, wxWindowID id, IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl); IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent); -static void CalcSizes( wxPoint pt, wxSize sz, +static void CalcSizes( const wxPoint& pt, const wxSize& sz, wxPoint& pt1, wxSize& sz1, wxPoint& pt2, wxSize& sz2, bool isVertical )