diff --git a/src/platform/guigtk.cpp b/src/platform/guigtk.cpp index c239d4a7..b86214b5 100644 --- a/src/platform/guigtk.cpp +++ b/src/platform/guigtk.cpp @@ -583,8 +583,8 @@ protected: return false; } - if(SS.GW.KeyboardEvent(event)) { - return true; + if(_receiver->onKeyboardEvent) { + return _receiver->onKeyboardEvent(event); } return false;