projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb2c52
)
fixed unreachable code warning in release build
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Thu, 8 Feb 2007 14:17:37 +0000
(14:17 +0000)
committer
Vadim 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
patch
|
blob
|
blame
|
history
diff --git
a/src/richtext/richtextctrl.cpp
b/src/richtext/richtextctrl.cpp
index 901901e56dbb757905ecc5be525160a3a5a541e9..55b8433ad68589721b68382347711a4be90e89ff 100644
(file)
--- a/
src/richtext/richtextctrl.cpp
+++ b/
src/richtext/richtextctrl.cpp
@@
-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;
}