From 2d588cb2b0a0b9ea9e9f14e53f976863efb268d8 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/trunk@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 0b0ed9a842..40aed1a7dc 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -348,7 +348,6 @@ void wxGenericFontDialog::OnChangeFont(wxCommandEvent& WXUNUSED(event)) { m_fontData.m_fontColour = *col; m_previewer->SetForegroundColour(*col); - delete col; } } m_previewer->Refresh(); -- 2.50.0