void CGUISpinBox::setValue(f32 val)
in CGUISpinBox.cpp to:
Code: Select all
char str[100];
core::string<char> fs(FormatString.c_str());
snprintf(str, 99, fs.c_str(), val);
core::stringw str2(str);
EditBox->setText(str2.c_str());
verifyValueRange();
Code: Select all
char str[100];
core::string<char> fs(FormatString.c_str());
snprintf(str, 99, fs.c_str(), val);
core::stringw str2(str);
EditBox->setText(str2.c_str());
verifyValueRange();