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:
parent
f3a3457e65
commit
73028c4b8c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user