Minor additions to make working with binary buffers easier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -528,6 +528,12 @@ void wxString::UngetWriteBuf()
|
||||
GetStringData()->Validate(TRUE);
|
||||
}
|
||||
|
||||
void wxString::UngetWriteBuf(size_t nLen)
|
||||
{
|
||||
GetStringData()->nDataLength = nLen;
|
||||
GetStringData()->Validate(TRUE);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// data access
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user