fixed typo in wxString::swap() which was completely broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1651,7 +1651,7 @@ void wxString::swap(wxString& str)
|
|||||||
// ref count always stays positive
|
// ref count always stays positive
|
||||||
wxString tmp = str;
|
wxString tmp = str;
|
||||||
str = *this;
|
str = *this;
|
||||||
*this = str;
|
*this = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString& wxString::insert(size_t nPos, const wxString& str)
|
wxString& wxString::insert(size_t nPos, const wxString& str)
|
||||||
|
Reference in New Issue
Block a user