]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix harmless unused parameter warning in !wxUSE_GRAPHICS_CONTEXT build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Jul 2013 14:12:41 +0000 (14:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Jul 2013 14:12:41 +0000 (14:12 +0000)
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

index 5d08e1261a052d74459460216ba06ce9b380b787..3d6f0211a51ed86d490088908aaaab04984d3e8c 100644 (file)
@@ -561,6 +561,8 @@ private:
 
         SetShape(path);
 #else // !wxUSE_GRAPHICS_CONTEXT
+        wxUnusedVar(tipKind);
+
         int x = contentSize.x/2,
             yApex = 0,
             dy = 0;