X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80fdcdb90ef779185492dab676d461fc34933312..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/xrc/xh_spin.cpp?ds=inline diff --git a/src/xrc/xh_spin.cpp b/src/xrc/xh_spin.cpp index 01b0a057b0..d9b1f4ef77 100644 --- a/src/xrc/xh_spin.cpp +++ b/src/xrc/xh_spin.cpp @@ -96,6 +96,10 @@ wxObject *wxSpinCtrlXmlHandler::DoCreateResource() GetLong(wxT("value"), DEFAULT_VALUE), GetName()); + const long base = GetLong(wxS("base"), 10); + if ( base != 10 ) + control->SetBase(base); + SetupWindow(control); return control;