Program: bbtk
Module: $RCSfile: bbwxInputText.cxx,v $
Language: C++
- Date: $Date: 2010/03/29 13:59:22 $
- Version: $Revision: 1.8 $
+ Date: $Date: 2010/04/08 14:36:32 $
+ Version: $Revision: 1.9 $
=========================================================================*/
/* ---------------------------------------------------------------------
mwxTextCtrl = new wxTextCtrl( panel, -1, In,
wxDefaultPosition, wxSize(800,20));
-
- Connect( mwxTextCtrl->GetId(), wxEVT_COMMAND_TEXT_ENTER,
+
+ // The following was supposed to generate an event, only on ENTER key ...
+ // ... but nothing happens (no event at all ?!?)
+ //Connect( mwxTextCtrl->GetId(), wxEVT_COMMAND_TEXT_ENTER,
+
+ Connect( mwxTextCtrl->GetId(), wxEVT_COMMAND_TEXT_UPDATED,
(wxObjectEventFunction)
(wxEventFunction)
(wxCommandEventFunction)