// this is a class so that it can be forward-declared
};
-WX_DECLARE_HASH_SET_PTR(int, wxIntegerHash, wxIntegerEqual, wxHashSetInt);
+WX_DECLARE_HASH_SET_PTR(int, ::wxIntegerHash, ::wxIntegerEqual, wxHashSetInt);
class wxIdRange // Holds data for a particular rangename
{
// like "&File..." -- this is illegal in XML, so we use "_File..."):
if ( *dt == amp_char )
{
- if ( *(++dt) == amp_char )
+ if ( dt+1 == str1.end() || *(++dt) == amp_char )
str2 << amp_char;
else
str2 << wxT('&') << *dt;
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);