From 3e69f6e58eefb49d0e9bbfe13c1ab05dff20c344 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 5 Jan 2007 13:36:49 +0000 Subject: [PATCH] rename Inside(x,y) parameters to avoid gcc warnings about parameters shadowing member variables git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gdicmn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index ba16059670..18dce6cbfb 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -487,7 +487,7 @@ public: }; #if WXWIN_COMPATIBILITY_2_6 -inline bool wxRect::Inside(int x, int y) const { return Contains(x, y); } +inline bool wxRect::Inside(int cx, int cy) const { return Contains(cx, cy); } inline bool wxRect::Inside(const wxPoint& pt) const { return Contains(pt); } inline bool wxRect::Inside(const wxRect& rect) const { return Contains(rect); } #endif // WXWIN_COMPATIBILITY_2_6 -- 2.50.0