From e8823fa8cc39a5dc3d274c9dbc0f0bdc2b114fa7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 12 Jul 2013 14:12:41 +0000 Subject: [PATCH] Fix harmless unused parameter warning in !wxUSE_GRAPHICS_CONTEXT build. Rich tooltip tip kind is unused as no tip is drawn in this case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/richtooltipg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generic/richtooltipg.cpp b/src/generic/richtooltipg.cpp index 5d08e1261a..3d6f0211a5 100644 --- a/src/generic/richtooltipg.cpp +++ b/src/generic/richtooltipg.cpp @@ -561,6 +561,8 @@ private: SetShape(path); #else // !wxUSE_GRAPHICS_CONTEXT + wxUnusedVar(tipKind); + int x = contentSize.x/2, yApex = 0, dy = 0; -- 2.45.2