From: Frederic Cervenansky Date: Fri, 28 Jan 2011 08:51:53 +0000 (+0000) Subject: minor bugs correction X-Git-Tag: Creatools2-0-3.creaImageIO0-2-5.17Feb2011~5 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bb9f988d623eff025e23ec37424cf33cd611c330;p=creaImageIO.git minor bugs correction --- diff --git a/appli/TestWxGimmickReaderDialog/main.cxx b/appli/TestWxGimmickReaderDialog/main.cxx index 03c25ec..e2de0d0 100644 --- a/appli/TestWxGimmickReaderDialog/main.cxx +++ b/appli/TestWxGimmickReaderDialog/main.cxx @@ -55,7 +55,7 @@ bool myApp::OnInit( ) -1, "localdatabase_Descriptor.dscp", "Local Database", - _T("Select image(s) - DCMAPI (c) VPH NOE ( cnrs - upf)"), + _T("Select image(s) - creaImageIOApp (c) CREATIS ( cnrs)"), wxDefaultPosition, wxSize(810,750), min_dim, diff --git a/src/creaImageIOWxGimmickView.cpp b/src/creaImageIOWxGimmickView.cpp index 755a4d2..9c0d327 100644 --- a/src/creaImageIOWxGimmickView.cpp +++ b/src/creaImageIOWxGimmickView.cpp @@ -775,10 +775,10 @@ namespace creaImageIO #else void WxGimmickView::UpdateWindowUI(long flags) { - //if(mViewer) - // { - // mViewer->RefreshIfNecessary(); - // } + if(mViewer) + { + mViewer->RefreshIfNecessary(); + } } #endif //================================================== diff --git a/src/creaImageIOWxViewer.cpp b/src/creaImageIOWxViewer.cpp index c0180a0..92ec86c 100644 --- a/src/creaImageIOWxViewer.cpp +++ b/src/creaImageIOWxViewer.cpp @@ -264,6 +264,7 @@ std::cout << std::endl; if (mPlayer==0 ) return; mPlayer->Delete(); mPlayer=0; + mMutex.Unlock(); } //================================================================