X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/312ebad4cd1fad97a79aaed7102611df88806410..3b96fc2f1b64f78bba7c755a5c14f618962f696b:/src/motif/spinbutt.cpp diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index cdded68c3a..f01ea0a2a4 100644 --- a/src/motif/spinbutt.cpp +++ b/src/motif/spinbutt.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "spinbutt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -244,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 )