X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d2f75071fc2a29ec10abe97c5a908bb35f30f4..b008b592cce934305dfa2eaaae0cd824b0d1e1cb:/contrib/src/xml/xh_spin.cpp diff --git a/contrib/src/xml/xh_spin.cpp b/contrib/src/xml/xh_spin.cpp index 320813c999..0a557f2eeb 100644 --- a/contrib/src/xml/xh_spin.cpp +++ b/contrib/src/xml/xh_spin.cpp @@ -31,6 +31,7 @@ wxSpinButtonXmlHandler::wxSpinButtonXmlHandler() ADD_STYLE( wxSP_VERTICAL ); ADD_STYLE( wxSP_ARROW_KEYS ); ADD_STYLE( wxSP_WRAP ); + AddWindowStyles(); } wxObject *wxSpinButtonXmlHandler::DoCreateResource() @@ -74,7 +75,7 @@ wxObject *wxSpinCtrlXmlHandler::DoCreateResource() { wxSpinCtrl *control = new wxSpinCtrl(m_ParentAsWindow, GetID(), - GetText(_T("label")), + GetText(_T("value")), GetPosition(), GetSize(), GetStyle( _T("style"), wxSP_ARROW_KEYS ), GetLong( _T("min"), wxSP_DEFAULT_MIN),