fixed unreachable code warning in release build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-02-08 14:17:37 +00:00
parent efb2c52f8c
commit afbd54e0d7

View 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;
}