]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/clrpickerg.cpp
restore SetSelection(-1, -1) behaviour which was broken during wxTextEntry refactoring
[wxWidgets.git] / 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 );