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