]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for...
[wxWidgets.git] / src / common / init.cpp
index d126e10b8d465481cc8665e2ea2a83171ef0e38d..bed80097ddb95a383093fc59e483870d12a4cedc 100644 (file)
@@ -217,7 +217,7 @@ static bool DoCommonPreInit()
     // initialization simply disappear under Windows
     //
     // note that we will delete this log target below
-    wxLog::SetActiveTarget(new wxLogBuffer);
+    delete wxLog::SetActiveTarget(new wxLogBuffer);
 #endif // wxUSE_LOG
 
     return true;