X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1ddb476b1d90a1e24f904eb74462f5dc5165442..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/xrc/xh_spin.cpp?ds=sidebyside diff --git a/src/xrc/xh_spin.cpp b/src/xrc/xh_spin.cpp index 5684e74777..d9b1f4ef77 100644 --- a/src/xrc/xh_spin.cpp +++ b/src/xrc/xh_spin.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_spin.cpp +// Name: src/xrc/xh_spin.cpp // Purpose: XRC resource for wxSpinButton // Author: Bob Mitchell // Created: 2000/03/21 @@ -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;