]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed [ 1775674 ] Invalid color in picker dialog
authorJulian Smart <julian@anthemion.co.uk>
Tue, 26 Feb 2008 15:27:20 +0000 (15:27 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 26 Feb 2008 15:27:20 +0000 (15:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextfontpage.cpp

index 3409e66a8e0ef2e5006a437cc2dc26e8e1fbd394..9766ff38f8426b00cc139781f283b756d1937994 100644 (file)
@@ -430,7 +430,7 @@ bool wxRichTextFontPage::TransferDataToWindow()
 
     if (attr->HasTextColour())
     {
 
     if (attr->HasTextColour())
     {
-        m_colourCtrl->SetBackgroundColour(attr->GetTextColour());
+        m_colourCtrl->SetColour(attr->GetTextColour());
         m_colourPresent = true;
     }
 
         m_colourPresent = true;
     }