fixed unreachable code warning in release build
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 14:17:37 +0000 (14:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 14:17:37 +0000 (14:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextctrl.cpp

index 901901e56dbb757905ecc5be525160a3a5a541e9..55b8433ad68589721b68382347711a4be90e89ff 100644 (file)
@@ -1983,8 +1983,6 @@ wxRichTextCtrl::HitTest(const wxPoint& pt,
         return wxTE_HT_BEYOND;
     else if (hit & wxRICHTEXT_HITTEST_BEFORE|wxRICHTEXT_HITTEST_AFTER)
         return wxTE_HT_ON_TEXT;
-    else
-        return wxTE_HT_UNKNOWN;
 
     return wxTE_HT_UNKNOWN;
 }