]> Creatis software - bbtk.git/commitdiff
#3462 SpinCtrl box
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 4 Jun 2021 04:56:04 +0000 (06:56 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 4 Jun 2021 04:56:04 +0000 (06:56 +0200)
packages/wx/src/bbwxSpinCtrl.cxx

index a30be49db914f12ad402ef4704e206a4b70236b6..61bb1751e6603a8abfec06d193b949c823e0a72f 100644 (file)
@@ -68,6 +68,12 @@ namespace bbwx
     
     mwxSpinCtrl                = NULL;
     mwxSpinButton      = NULL;
+    
+       if (mBox->bbGetInputTitle()!="")
+       {
+               sizer->Add( new wxStaticText(parent , -1,  bbtk::std2wx(mBox->bbGetInputTitle())  ) );          
+       }
+    
        if (mBox->bbGetInputType()==0)
        {
            mwxSpinCtrl = new wxSpinCtrl( panel, -1 );