X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a559d70856c65f8fd91d6e56c3e98c3828e18db7..e7d5dd022c9555a097a14bd42dfc5d57467d0864:/contrib/src/xml/xh_bttn.cpp?ds=sidebyside diff --git a/contrib/src/xml/xh_bttn.cpp b/contrib/src/xml/xh_bttn.cpp index 1bb47f4362..b0c31f12c1 100644 --- a/contrib/src/xml/xh_bttn.cpp +++ b/contrib/src/xml/xh_bttn.cpp @@ -32,7 +32,7 @@ wxButtonXmlHandler::wxButtonXmlHandler() wxObject *wxButtonXmlHandler::DoCreateResource() { - wxButton *button = new wxButton(m_ParentAsWindow, + wxButton *button = new wxButton(m_parentAsWindow, GetID(), GetText(wxT("label")), GetPosition(), GetSize(),