summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:06 +0000
committerfcolin2007-02-01 13:03:06 +0000
commit5aba50d0f42fbe91363d0e06d298ddbccd8df961 (patch)
tree77d4afcf2d00d25b4c8d1da99abbf011c04f1c55 /Ivy
parentd22136a194cbe1e54e80feaefbb96c20cadb512a (diff)
downloadivy-cplusplus-5aba50d0f42fbe91363d0e06d298ddbccd8df961.zip
ivy-cplusplus-5aba50d0f42fbe91363d0e06d298ddbccd8df961.tar.gz
ivy-cplusplus-5aba50d0f42fbe91363d0e06d298ddbccd8df961.tar.bz2
ivy-cplusplus-5aba50d0f42fbe91363d0e06d298ddbccd8df961.tar.xz
Utilisateur : Fcolin Date : 31/01/01 Heure : 11:18 Archivé dans $/Ivy (vss 4)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/IvySynchroWnd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ivy/IvySynchroWnd.cxx b/Ivy/IvySynchroWnd.cxx
index 80b2622..12a4587 100644
--- a/Ivy/IvySynchroWnd.cxx
+++ b/Ivy/IvySynchroWnd.cxx
@@ -86,7 +86,7 @@ LRESULT CALLBACK IvySynchroWnd::WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam
LRESULT IvySynchroWnd::OnIvyCB(WPARAM wParam, LPARAM lParam)
{
- std::list<IvySynchronousCallback*>::iterator iter;
+ IvySynchronousCallbackList::iterator iter;
EnterCriticalSection( &m_CritSection );
for ( iter = callbacklist.begin(); iter != callbacklist.end(); )
@@ -103,7 +103,7 @@ void IvySynchroWnd::PostIvyCB( IvySynchronousCallback *cb )
{
EnterCriticalSection( &m_CritSection );
if ( !m_synchro->callbacklist.size() )
- assert(PostMessage(m_synchro->m_hWnd, WM_IVY_CB, 0, 0 ));
+ ASSERT(PostMessage(m_synchro->m_hWnd, WM_IVY_CB, 0, 0 ));
m_synchro->callbacklist.push_back( cb );
LeaveCriticalSection( &m_CritSection );
}