From 576ad2b67bced04bde83de91f5e647af868c5fd4 Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 12 Mar 2010 16:41:08 +0000 Subject: mise en conformité des messages ping /pong Correction pb a la fermeture d'ivy --- Ivy/IvyApplication.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Ivy/IvyApplication.cxx') diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx index 7b3cd2f..8ba70f6 100644 --- a/Ivy/IvyApplication.cxx +++ b/Ivy/IvyApplication.cxx @@ -5,7 +5,7 @@ #include "IvyApplication.h" #include "IvyBinding.h" - +#include "IvySynchroWnd.h" //#define IVY_DEBUG @@ -272,11 +272,9 @@ void IvyApplication::OnReceive(char * line) #ifdef IVY_DEBUG TRACE("Die Message id=%d msg='%s'\n", id, arg); #endif //IVY_DEBUG - if ( bus->CallDieCallback( this, id, arg ) ) { - PostMessage( NULL, WM_CLOSE, 0, 0); - exit(-1); + IvySynchroWnd::PostQuit(); } break; case Ping: -- cgit v1.1