From 18d3eaae62bfd0749e62b5268ea7800d9feb3a99 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 4 Jun 2021 06:56:04 +0200 Subject: [PATCH] #3462 SpinCtrl box --- packages/wx/src/bbwxSpinCtrl.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/wx/src/bbwxSpinCtrl.cxx b/packages/wx/src/bbwxSpinCtrl.cxx index a30be49..61bb175 100644 --- a/packages/wx/src/bbwxSpinCtrl.cxx +++ b/packages/wx/src/bbwxSpinCtrl.cxx @@ -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 ); -- 2.47.1