]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix harmless Clang warning about an unused function.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Jul 2013 01:31:40 +0000 (01:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Jul 2013 01:31:40 +0000 (01:31 +0000)
GlobalOnAnotherEvent() is not used in normal testing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/events/evthandler.cpp

index d8e24a3438bb916891c93db07686c7916e979f83..aff698a67b108fb3261fe1c0444df9b39be17f30 100644 (file)
@@ -80,7 +80,9 @@ void GlobalOnEvent(wxEvent&)
     g_called.function = true;
 }
 
+#ifdef TEST_INVALID_BIND_GLOBAL
 void GlobalOnAnotherEvent(AnotherEvent&);
+#endif
 
 void GlobalOnIdle(wxIdleEvent&)
 {