diff --git a/ext/wxruby3/include/wxRubyApp.h b/ext/wxruby3/include/wxRubyApp.h index 37760c08..a67cb5cb 100644 --- a/ext/wxruby3/include/wxRubyApp.h +++ b/ext/wxruby3/include/wxRubyApp.h @@ -79,7 +79,7 @@ class wxRubyApp : public wxApp if (!m_shouldExit && needs_idle_evt) { needs_idle_evt = ProcessIdle(); - if (needs_idle_evt) + if (!needs_idle_evt) break; } } diff --git a/lib/wx/version.rb b/lib/wx/version.rb index 634b3024..39671d17 100644 --- a/lib/wx/version.rb +++ b/lib/wx/version.rb @@ -3,5 +3,5 @@ # This software is released under the MIT license. module Wx - WXRUBY_VERSION = '1.8.1' + WXRUBY_VERSION = '1.8.2' end