From: Eduardo DAVILA Date: Mon, 29 Nov 2021 16:14:33 +0000 (+0100) Subject: #3477 bug InputText initial value X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c7d8e28b602123bc0943752e09907569f0697144;p=bbtk.git #3477 bug InputText initial value --- diff --git a/packages/wx/src/bbwxInputText.cxx b/packages/wx/src/bbwxInputText.cxx index da4870e..50fd6a8 100644 --- a/packages/wx/src/bbwxInputText.cxx +++ b/packages/wx/src/bbwxInputText.cxx @@ -203,7 +203,7 @@ namespace bbwx w->SetTitle( bbtk::std2wx ( bbGetInputTitle() ) ); bbSetOutputOut( w->GetValue() ); } else { - bbSetOutputOut( "" ); + bbSetOutputOut( bbGetInputIn().c_str() ); } }