changeset 19813:f6a6e6bbbdf7 draft

(svn r24746) -Cleanup: Remove weird lowering of editboxes.
author frosch <frosch@openttd.org>
date Wed, 14 Nov 2012 22:50:49 +0000
parents 2733f367af05
children 173b8706e0d6
files src/misc_gui.cpp src/osk_gui.cpp src/signs_gui.cpp
diffstat 3 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -855,7 +855,6 @@
 		this->parent = parent;
 
 		this->SetFocusedWidget(WID_QS_TEXT);
-		this->LowerWidget(WID_QS_TEXT);
 	}
 
 	virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize)
--- a/src/osk_gui.cpp
+++ b/src/osk_gui.cpp
@@ -85,7 +85,6 @@
 		}
 		this->SetWidgetDisabledState(WID_OSK_SPACE, !IsValidChar(' ', this->qs->afilter));
 
-		this->LowerWidget(WID_OSK_TEXT);
 		this->SetWidgetLoweredState(WID_OSK_SHIFT, HasBit(_keystate, KEYS_SHIFT));
 		this->SetWidgetLoweredState(WID_OSK_CAPS, HasBit(_keystate, KEYS_CAPS));
 	}
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -444,7 +444,6 @@
 
 		this->InitNested(desc, WN_QUERY_STRING_SIGN);
 
-		this->LowerWidget(WID_QES_TEXT);
 		UpdateSignEditWindow(si);
 		this->SetFocusedWidget(WID_QES_TEXT);
 	}