From c32cfa3641288eea409ee54b99baa9ff176dc64b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 12 Aug 1999 14:03:23 +0000 Subject: [PATCH] wxHtmlWidgetCells now destroys window correctly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/htmlcell.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 87a3e040d7..e413f3764b 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -271,6 +271,7 @@ class WXDLLEXPORT wxHtmlWidgetCell : public wxHtmlCell // if w != 0 then the m_Wnd has 'floating' width - it adjust // it's width according to parent container's width // (w is percent of parent's width) + ~wxHtmlWidgetCell() {if (m_Wnd) m_Wnd -> Destroy(); } virtual void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2); virtual void DrawInvisible(wxDC& dc, int x, int y); virtual void Layout(int w); -- 2.50.0