X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdialog.cpp;h=7b47b66e9571c80800ae9bcd152fd0e1ea06b250;hb=6d73e04329fc3752552773e4d11d7374caf779f6;hp=dba276d32d7aa05de119fa2cdf48407cbdcf4fe9;hpb=8c24649c40829dd1ce78ca4bbcae0913574ab292;p=libs%2Fgltk.git diff --git a/source/dialog.cpp b/source/dialog.cpp index dba276d..7b47b66 100644 --- a/source/dialog.cpp +++ b/source/dialog.cpp @@ -23,11 +23,12 @@ void Dialog::button_release(int x, int y, unsigned button) delete this; } -void Dialog::key_release(unsigned key, unsigned mod) +bool Dialog::key_release(unsigned key, unsigned mod) { - Panel::key_release(key, mod); + bool result = Panel::key_release(key, mod); if(stale) delete this; + return result; } void Dialog::response(int code) @@ -49,7 +50,7 @@ void Dialog::Loader::action_button(const string &n, int c) RefPtr