From: Vadim Zeitlin Date: Fri, 12 Jul 2013 14:12:41 +0000 (+0000) Subject: Fix harmless unused parameter warning in !wxUSE_GRAPHICS_CONTEXT build. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e8823fa8cc39a5dc3d274c9dbc0f0bdc2b114fa7 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 --- 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;