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
This commit is contained in:
Kevin Hock
2004-11-21 19:57:44 +00:00
parent 8c6be1a881
commit 955f0add89

View File

@@ -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