]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/evtloop.cpp
Fix build with wxUSE_FFILE=0.
[wxWidgets.git] / src / motif / evtloop.cpp
index 7ec41cd123c6ee438c6401d2b0fd73595d55ad6d..428493abcc7b4f219a08cf1af433a2ce45c57e77 100644 (file)
@@ -121,9 +121,9 @@ int wxGUIEventLoop::DoRun()
     return exitcode;
 }
 
-void wxGUIEventLoop::Exit(int rc)
+void wxGUIEventLoop::ScheduleExit(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 );