X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..52170c5b4419c63d6e0083df411aad420395ec98:/include/wx/tbarbase.h?ds=sidebyside diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index 8c4b93543b..47ccd84a01 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -77,7 +77,7 @@ public: m_tbar = tbar; m_id = toolid; if (m_id == wxID_ANY) - m_id = wxNewId(); + m_id = wxWindow::NewControlId(); m_clientData = clientData; m_bmpNormal = bmpNormal;