Add wxString::WorstEncodingCase, other various cleanups

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-10-29 21:06:28 +00:00
parent 83bd1fd925
commit 03ff8fda8d
3 changed files with 22 additions and 31 deletions

View File

@@ -1077,6 +1077,9 @@ public:
// the same as above, but takes a va_list
static wxString FormatV(const wxChar *pszFormat, va_list argptr);
// returns the highest possible memory allocation for encoding
static size_t WorstEncodingCase(size_t len, wxMBConv& conv);
// raw access to string memory
// ensure that string has space for at least nLen characters
// only works if the data of this string is not shared