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:
parent
8d00896532
commit
2d588cb2b0
@ -348,7 +348,6 @@ void wxGenericFontDialog::OnChangeFont(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_fontData.m_fontColour = *col;
|
||||
m_previewer->SetForegroundColour(*col);
|
||||
delete col;
|
||||
}
|
||||
}
|
||||
m_previewer->Refresh();
|
||||
|
Loading…
Reference in New Issue
Block a user