From: Vadim Zeitlin Date: Mon, 15 Jul 2013 01:31:40 +0000 (+0000) Subject: Fix harmless Clang warning about an unused function. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ed753dc8d3fc7ab17880c60321f1367b21e807d Fix harmless Clang warning about an unused function. GlobalOnAnotherEvent() is not used in normal testing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/events/evthandler.cpp b/tests/events/evthandler.cpp index d8e24a3438..aff698a67b 100644 --- a/tests/events/evthandler.cpp +++ b/tests/events/evthandler.cpp @@ -80,7 +80,9 @@ void GlobalOnEvent(wxEvent&) g_called.function = true; } +#ifdef TEST_INVALID_BIND_GLOBAL void GlobalOnAnotherEvent(AnotherEvent&); +#endif void GlobalOnIdle(wxIdleEvent&) {