]> Creatis software - bbtk.git/commitdiff
enter process instead update process for input text
authorFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Mon, 29 Mar 2010 13:59:22 +0000 (13:59 +0000)
committerFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Mon, 29 Mar 2010 13:59:22 +0000 (13:59 +0000)
packages/wx/src/bbwxInputText.cxx

index 99c8a1939b637dcde83e7c8936727363bb7423e9..90ed958a3586c216c0f0512596e9a1fb0d354b09 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbwxInputText.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/12/02 15:13:25 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2010/03/29 13:59:22 $
+  Version:   $Revision: 1.8 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -78,7 +78,7 @@ namespace bbwx
     mwxTextCtrl = new wxTextCtrl( panel, -1, In,
                                  wxDefaultPosition, wxSize(800,20));
                                  
-    Connect( mwxTextCtrl->GetId(),  wxEVT_COMMAND_TEXT_UPDATED
+    Connect( mwxTextCtrl->GetId(),  wxEVT_COMMAND_TEXT_ENTER
             (wxObjectEventFunction) 
             (wxEventFunction)
             (wxCommandEventFunction)