aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiEditBox.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-02-18 00:29:34 +0100
committersfan5 <sfan5@live.de>2023-02-18 16:46:51 +0100
commit3bafbaac49e3d5d1d633b26f60fd4e919399819b (patch)
treeb70231e8eb18fdf8b3d2cf2007919a5e46540db0 /src/gui/guiEditBox.cpp
parent2dafce6206dfcf02f3c31cf1abe819e901489704 (diff)
downloadminetest-3bafbaac49e3d5d1d633b26f60fd4e919399819b.tar.xz
Remove dead code behind Irrlicht version checks
Diffstat (limited to 'src/gui/guiEditBox.cpp')
-rw-r--r--src/gui/guiEditBox.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/guiEditBox.cpp b/src/gui/guiEditBox.cpp
index 4a0f5013d..e25c9ace3 100644
--- a/src/gui/guiEditBox.cpp
+++ b/src/gui/guiEditBox.cpp
@@ -200,7 +200,6 @@ void GUIEditBox::sendGuiEvent(EGUI_EVENT_TYPE type)
bool GUIEditBox::OnEvent(const SEvent &event)
{
if (isEnabled()) {
-
switch (event.EventType) {
case EET_GUI_EVENT:
if (event.GUIEvent.EventType == EGET_ELEMENT_FOCUS_LOST) {
@@ -218,11 +217,9 @@ bool GUIEditBox::OnEvent(const SEvent &event)
if (processMouse(event))
return true;
break;
-#if (IRRLICHT_VERSION_MT_REVISION >= 2)
case EET_STRING_INPUT_EVENT:
inputString(*event.StringInput.Str);
return true;
-#endif
default:
break;
}