X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a559d70856c65f8fd91d6e56c3e98c3828e18db7..00b2a5df9502adfd9a14ce01ab603f7906984995:/contrib/src/xml/xh_spin.cpp?ds=sidebyside diff --git a/contrib/src/xml/xh_spin.cpp b/contrib/src/xml/xh_spin.cpp index 3cc514893e..689fe6f21a 100644 --- a/contrib/src/xml/xh_spin.cpp +++ b/contrib/src/xml/xh_spin.cpp @@ -36,7 +36,7 @@ wxSpinButtonXmlHandler::wxSpinButtonXmlHandler() wxObject *wxSpinButtonXmlHandler::DoCreateResource() { - wxSpinButton *control = new wxSpinButton(m_ParentAsWindow, + wxSpinButton *control = new wxSpinButton(m_parentAsWindow, GetID(), GetPosition(), GetSize(), GetStyle( wxT("style"), wxSP_VERTICAL | wxSP_ARROW_KEYS ), @@ -73,7 +73,7 @@ wxSpinCtrlXmlHandler::wxSpinCtrlXmlHandler() wxObject *wxSpinCtrlXmlHandler::DoCreateResource() { - wxSpinCtrl *control = new wxSpinCtrl(m_ParentAsWindow, + wxSpinCtrl *control = new wxSpinCtrl(m_parentAsWindow, GetID(), GetText(wxT("value")), GetPosition(), GetSize(),