The result of wxString::mb_str() can't be converted to wxScopedCharBuffer in
non-Unicode build but converting it to wxCharBuffer is always fine (though
slightly less efficient).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69730
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static void XRCID_Assign(const wxString& str_id, int value)
{
- wxScopedCharBuffer buf_id(str_id.mb_str());
+ const wxCharBuffer buf_id(str_id.mb_str());
const unsigned index = XRCIdHash(buf_id);