diff --git a/common/widgets/ui_common.cpp b/common/widgets/ui_common.cpp index 2bbb12cc54..25cd8d22de 100644 --- a/common/widgets/ui_common.cpp +++ b/common/widgets/ui_common.cpp @@ -21,7 +21,7 @@ #include #include - +#include int KIUI::GetStdMargin() { @@ -69,7 +69,7 @@ wxBitmap MakeBadge( SEVERITY aStyle, int aCount, wxWindow* aWindow, int aDepth ) { if( aStyle == RPT_SEVERITY_ERROR || aStyle == RPT_SEVERITY_WARNING ) { - badgeColour = *wxGREEN; + badgeColour = KIGFX::COLOR4D( GREEN ).ToColour(); textColour = *wxWHITE; } else @@ -90,7 +90,7 @@ wxBitmap MakeBadge( SEVERITY aStyle, int aCount, wxWindow* aWindow, int aDepth ) textColour = *wxBLACK; break; case RPT_SEVERITY_ACTION: - badgeColour = *wxGREEN; + badgeColour = KIGFX::COLOR4D( GREEN ).ToColour(); textColour = *wxWHITE; break; case RPT_SEVERITY_EXCLUSION: