]> git.saurik.com Git - wxWidgets.git/commitdiff
The presence of the effects controls (i.e. color) should not depend on whether or...
authorKevin Hock <hockkn@yahoo.com>
Sun, 21 Nov 2004 19:57:44 +0000 (19:57 +0000)
committerKevin Hock <hockkn@yahoo.com>
Sun, 21 Nov 2004 19:57:44 +0000 (19:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/fontdlg.cpp

index bffa169a38132b42559e9a026486a625e782b2d3..a48a60a2eed9e2ad651feff4b86212dae63bcfd0 100644 (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