From 4179d518296f8231d8a29359b7c6e4bae03c22fb Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 15 Jul 2004 13:48:54 +0000 Subject: delete key --- src/FbTk/TextBox.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc index 50f54fa..460db7e 100644 --- a/src/FbTk/TextBox.cc +++ b/src/FbTk/TextBox.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: TextBox.cc,v 1.9 2004/04/19 18:57:30 fluxgen Exp $ +// $Id: TextBox.cc,v 1.10 2004/07/15 13:48:54 fluxgen Exp $ #include "TextBox.hh" #include "Font.hh" @@ -248,6 +248,9 @@ void TextBox::keyPressEvent(XKeyEvent &event) { case XK_Right: cursorForward(); break; + case XK_Delete: + deleteForward(); + break; default: if (isprint(keychar[0])) { std::string val; -- cgit v0.11.2