diff options
-rw-r--r-- | src/FbTk/TextBox.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: TextBox.cc,v 1.9 2004/04/19 18:57:30 fluxgen Exp $ | 22 | // $Id: TextBox.cc,v 1.10 2004/07/15 13:48:54 fluxgen Exp $ |
23 | 23 | ||
24 | #include "TextBox.hh" | 24 | #include "TextBox.hh" |
25 | #include "Font.hh" | 25 | #include "Font.hh" |
@@ -248,6 +248,9 @@ void TextBox::keyPressEvent(XKeyEvent &event) { | |||
248 | case XK_Right: | 248 | case XK_Right: |
249 | cursorForward(); | 249 | cursorForward(); |
250 | break; | 250 | break; |
251 | case XK_Delete: | ||
252 | deleteForward(); | ||
253 | break; | ||
251 | default: | 254 | default: |
252 | if (isprint(keychar[0])) { | 255 | if (isprint(keychar[0])) { |
253 | std::string val; | 256 | std::string val; |