add some asserts for wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1380,7 +1380,10 @@ class WXDLLIMPEXP_BASE wxStringBufferLength
|
||||
public:
|
||||
wxStringBufferLength(wxString& str, size_t lenWanted = 1024)
|
||||
: m_str(str), m_buf(NULL), m_len(0), m_lenSet(false)
|
||||
{ m_buf = m_str.GetWriteBuf(lenWanted); }
|
||||
{
|
||||
m_buf = m_str.GetWriteBuf(lenWanted);
|
||||
wxASSERT(m_buf != NULL);
|
||||
}
|
||||
|
||||
~wxStringBufferLength()
|
||||
{
|
||||
|
Reference in New Issue
Block a user