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
This commit is contained in:
Robin Dunn 2003-09-29 17:42:18 +00:00
parent 8d00896532
commit 2d588cb2b0

View File

@ -348,7 +348,6 @@ void wxGenericFontDialog::OnChangeFont(wxCommandEvent& WXUNUSED(event))
{
m_fontData.m_fontColour = *col;
m_previewer->SetForegroundColour(*col);
delete col;
}
}
m_previewer->Refresh();