From 17465a0a424c14a6ed4764b0d2645c16fc2d8e7b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 29 Sep 2003 17:42:18 +0000 Subject: [PATCH] Should not delete colours that come from the wxColourDatabase git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/fontdlgg.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index ab818361a3..13f1ca45cd 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -348,7 +348,6 @@ void wxGenericFontDialog::OnChangeFont(wxCommandEvent& WXUNUSED(event)) { m_fontData.fontColour = *col; m_previewer->SetForegroundColour(*col); - delete col; } } m_previewer->Refresh();