Restore MSW's colour picker, II

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-12-28 22:13:35 +00:00
parent da1f0e87e2
commit a5b4330420

View File

@ -106,7 +106,7 @@ void wxGenericColourButton::UpdateColour()
dc.SetBrush( wxBrush(m_colour) );
dc.DrawRectangle( 0,0,m_bitmap.GetWidth(),m_bitmap.GetHeight() );
// if ( HasFlag(wxCLRP_SHOW_LABEL) )
if ( HasFlag(wxCLRP_SHOW_LABEL) )
{
wxColour col( ~m_colour.Red(), ~m_colour.Green(), ~m_colour.Blue() );
dc.SetTextForeground( col );