diff --git a/include/wx/string.h b/include/wx/string.h index 98d5c6da71..1e8be0ca23 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -1450,12 +1450,7 @@ public: // truncate the string to given length wxString& Truncate(size_t uiLen); // empty string contents - void Empty() - { - Truncate(0); - - wxASSERT_MSG( empty(), _T("string not empty after call to Empty()?") ); - } + void Empty() { clear(); } // empty the string and free memory void Clear() { clear(); }