]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/evtloop.cpp
Check axis number in the received joystick messages.
[wxWidgets.git] / src / motif / evtloop.cpp
index 7ec41cd123c6ee438c6401d2b0fd73595d55ad6d..c2b0f367e4c9d1ccd07cb5aa0ca15b82af2003cd 100644 (file)
@@ -121,9 +121,9 @@ int wxGUIEventLoop::DoRun()
     return exitcode;
 }
 
-void wxGUIEventLoop::Exit(int rc)
+void wxGUIEventLoop::SchduleExit(int rc)
 {
-    wxCHECK_RET( IsRunning(), wxT("can't call Exit() if not running") );
+    wxCHECK_RET( IsInsideRun(), wxT("can't call ScheduleExit() if not started") );
 
     m_impl->SetExitCode(rc);
     m_impl->SetKeepGoing( false );