X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Finput.cpp;h=ea4129a9cab1948a9383857ad277aefdcb5bd7fa;hb=8b7d4054b05002d82338775ac9b4ee764a8560e4;hp=26bf9f2bfc521165e24d4ae2c5cb7afd22092e29;hpb=62ce775d9af8f3321dbdebd6243b551fbbb0b976;p=r2c2.git diff --git a/source/designer/input.cpp b/source/designer/input.cpp index 26bf9f2..ea4129a 100644 --- a/source/designer/input.cpp +++ b/source/designer/input.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of the MSP Märklin suite -Copyright © 2006-2008, 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #include @@ -43,14 +36,14 @@ InputDialog::InputDialog(Designer &d, const string &title, const string &text): entry->set_focus(); } -void InputDialog::key_press(unsigned key, unsigned mod, wchar_t ch) +void InputDialog::key_press(unsigned key, unsigned mod) { if(key==Msp::Input::KEY_ENTER) response(1); else if(key==Msp::Input::KEY_ESC) response(0); else - Dialog::key_press(key, mod, ch); + Dialog::key_press(key, mod); } void InputDialog::on_response(int code)