]> git.saurik.com Git - wxWidgets.git/commitdiff
Restore MSW's colour picker, II
authorRobert Roebling <robert@roebling.de>
Fri, 28 Dec 2007 22:13:35 +0000 (22:13 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 28 Dec 2007 22:13:35 +0000 (22:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/clrpickerg.cpp

index 80de3e15a64d06b34a107e1c1235a2b8e10e8361..843dc86750e47bf8331c4da6bea9fac1fcda0fd3 100644 (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 );