fixed small memory leak

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-07-21 20:44:11 +00:00
parent f3a3457e65
commit 73028c4b8c

View File

@ -100,7 +100,7 @@ class MyPanel: public wxPanel
{
public:
MyPanel(wxFrame *frame, int x, int y, int w, int h);
virtual ~MyPanel() { wxLog::SetActiveTarget(m_logOld); }
virtual ~MyPanel() { delete wxLog::SetActiveTarget(m_logOld); }
#if wxUSE_CLIPBOARD
void DoPasteFromClipboard();