From 83659d5d1dd35c38b323f8aabdaf70fa5f4d653a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 23 Sep 2015 02:40:47 +0200 Subject: [PATCH] Fix the recently broken test in the text sample Correct the text broken by f137753f284ce80cdad100badf7d4ff81572c8d7 (thanks buildbot and clang for the warning). --- samples/text/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 767e93bcc2..126cb97168 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -776,7 +776,7 @@ void MyTextCtrl::OnMouseEvent(wxMouseEvent& ev) if ( !ms_logMouse ) return; - if ( !ev.GetEventType() != wxEVT_MOTION ) + if ( ev.GetEventType() != wxEVT_MOTION ) { wxString msg; if ( ev.Entering() )