X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a559d70856c65f8fd91d6e56c3e98c3828e18db7..00b2a5df9502adfd9a14ce01ab603f7906984995:/contrib/src/xml/xh_bttn.cpp 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(),