X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80fdcdb90ef779185492dab676d461fc34933312..af04373873ab51e9c0c41139716c66395a55ffcb:/src/xrc/xh_spin.cpp diff --git a/src/xrc/xh_spin.cpp b/src/xrc/xh_spin.cpp index 01b0a057b0..8ee8c8ecf0 100644 --- a/src/xrc/xh_spin.cpp +++ b/src/xrc/xh_spin.cpp @@ -3,7 +3,6 @@ // Purpose: XRC resource for wxSpinButton // Author: Bob Mitchell // Created: 2000/03/21 -// RCS-ID: $Id$ // Copyright: (c) 2000 Bob Mitchell and Verant Interactive // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -96,6 +95,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;