diff options
author | fcolin | 2010-03-12 16:41:08 +0000 |
---|---|---|
committer | fcolin | 2010-03-12 16:41:08 +0000 |
commit | 576ad2b67bced04bde83de91f5e647af868c5fd4 (patch) | |
tree | 147725b5c27f1f31da1e879ac949822c75ac49a2 /Ivy/IvyApplication.cxx | |
parent | 74c0ac487332231e8dd6ba35580b07166ffbcfe2 (diff) | |
download | ivy-cplusplus-576ad2b67bced04bde83de91f5e647af868c5fd4.zip ivy-cplusplus-576ad2b67bced04bde83de91f5e647af868c5fd4.tar.gz ivy-cplusplus-576ad2b67bced04bde83de91f5e647af868c5fd4.tar.bz2 ivy-cplusplus-576ad2b67bced04bde83de91f5e647af868c5fd4.tar.xz |
mise en conformité des messages ping /pong
Correction pb a la fermeture d'ivy
Diffstat (limited to 'Ivy/IvyApplication.cxx')
-rw-r--r-- | Ivy/IvyApplication.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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:
|