]> Creatis software - creaImageIO.git/commitdiff
minor bugs correction
authorFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 28 Jan 2011 08:51:53 +0000 (08:51 +0000)
committerFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 28 Jan 2011 08:51:53 +0000 (08:51 +0000)
appli/TestWxGimmickReaderDialog/main.cxx
src/creaImageIOWxGimmickView.cpp
src/creaImageIOWxViewer.cpp

index 03c25ec074e289f2556dbccf587deee8216e6513..e2de0d0be1b2eb5ff85eb65b8738eabdf942e311 100644 (file)
@@ -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,
index 755a4d2e6c81c25751fab29f0beeafb0542d1b46..9c0d327057be53dbebbde686e7a770226129203e 100644 (file)
@@ -775,10 +775,10 @@ namespace creaImageIO
 #else
   void WxGimmickView::UpdateWindowUI(long flags)
   {
-         //if(mViewer)
-   //  {
-   //     mViewer->RefreshIfNecessary();
-   //  }
+         if(mViewer)
+     {
+        mViewer->RefreshIfNecessary();
+     }
   }
 #endif
    //==================================================
index c0180a0afd5b9cb0ff73c57d2190222d7c8ab53b..92ec86c6a1de26819b32894642df172a5902a662 100644 (file)
@@ -264,6 +264,7 @@ std::cout << std::endl;
          if (mPlayer==0 ) return;
          mPlayer->Delete();  
          mPlayer=0;
+         mMutex.Unlock();
   }
   //================================================================