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:
parent
da1f0e87e2
commit
a5b4330420
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user