]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextfontpage.cpp
implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the...
[wxWidgets.git] / src / richtext / richtextfontpage.cpp
index 3409e66a8e0ef2e5006a437cc2dc26e8e1fbd394..9766ff38f8426b00cc139781f283b756d1937994 100644 (file)
@@ -430,7 +430,7 @@ bool wxRichTextFontPage::TransferDataToWindow()
 
     if (attr->HasTextColour())
     {
-        m_colourCtrl->SetBackgroundColour(attr->GetTextColour());
+        m_colourCtrl->SetColour(attr->GetTextColour());
         m_colourPresent = true;
     }