git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@241
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
0, // current length
0, // allocated memory
0 }; // string data
-// empty string shares memory with g_strEmpty
-static wxStringData *g_strNul = (wxStringData*)&g_strEmpty;
// empty C style string: points to 'string data' byte of g_strEmpty
extern const char *g_szNul = (const char *)(&g_strEmpty[3]);
strncpy(pc, c_str(), nPos);
strcpy(pc + nPos, str);
strcpy(pc + nPos + str.Len(), c_str() + nPos);
+ strTmp.UngetWriteBuf();
*this = strTmp;
return *this;