From 955f0add8917579c3da701330ff16848fc35ca40 Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Sun, 21 Nov 2004 19:57:44 +0000 Subject: [PATCH] The presence of the effects controls (i.e. color) should not depend on whether or not a color is present in the font data, but rather whether or not EnableEffects is true or false git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/fontdlg.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/fontdlg.cpp b/src/msw/fontdlg.cpp index bffa169a38..a48a60a2ee 100644 --- a/src/msw/fontdlg.cpp +++ b/src/msw/fontdlg.cpp @@ -87,9 +87,6 @@ int wxFontDialog::ShowModal() if ( m_fontData.m_fontColour.Ok() ) { chooseFontStruct.rgbColors = wxColourToRGB(m_fontData.m_fontColour); - - // need this for the colour to be taken into account - flags |= CF_EFFECTS; } // CF_ANSIONLY flag is obsolete for Win32 -- 2.45.2