X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Finput.cpp;h=ea4129a9cab1948a9383857ad277aefdcb5bd7fa;hb=d2dfed1a38c5e8487532e9055fad464cf54efd83;hp=9476bad4b6197b7d0d0d875fda65ac082bb4f015;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/designer/input.cpp b/source/designer/input.cpp index 9476bad..ea4129a 100644 --- a/source/designer/input.cpp +++ b/source/designer/input.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -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)