src/osk_gui.cpp
branchNewGRF_ports
changeset 10991 d8811e327d12
parent 10731 67db0d431d5e
--- a/src/osk_gui.cpp	Tue May 27 00:50:55 2008 +0000
+++ b/src/osk_gui.cpp	Tue Jun 17 10:32:49 2008 +0000
@@ -203,6 +203,11 @@
 		/* make the caret of the parent window also blink */
 		this->parent->InvalidateWidget(this->text_btn);
 	}
+
+	virtual void OnInvalidateData(int)
+	{
+		this->InvalidateWidget(OSK_WIDGET_TEXT);
+	}
 };
 
 static const Widget _osk_widgets[] = {