fix deleting a frozen multi-line wxTextCtrl, see #13543
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -613,6 +613,11 @@ void wxTextCtrl::Init()
|
|||||||
|
|
||||||
wxTextCtrl::~wxTextCtrl()
|
wxTextCtrl::~wxTextCtrl()
|
||||||
{
|
{
|
||||||
|
// this is also done by wxWindowGTK dtor, but has to be done here so our
|
||||||
|
// DoThaw() override is called
|
||||||
|
while (IsFrozen())
|
||||||
|
Thaw();
|
||||||
|
|
||||||
if (m_anonymousMarkList)
|
if (m_anonymousMarkList)
|
||||||
g_slist_free(m_anonymousMarkList);
|
g_slist_free(m_anonymousMarkList);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user