From 073c03e61f31ce6aaf8bd9d067ef4620524dcb30 Mon Sep 17 00:00:00 2001 From: John Beard Date: Thu, 23 May 2019 19:31:15 +0100 Subject: [PATCH] Common: declare COLOR4D inside KIGFX Forward declaring as just COLOR4D is no right, though can work due to people putting using directives in headers. --- include/bitmap_base.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/bitmap_base.h b/include/bitmap_base.h index 175d5f4cdc..e15472b27b 100644 --- a/include/bitmap_base.h +++ b/include/bitmap_base.h @@ -30,8 +30,11 @@ #include #include - +namespace KIGFX +{ class COLOR4D; +} + class LINE_READER; class PLOTTER; @@ -243,7 +246,7 @@ public: * @param aDefaultPensize = the pen size used to plot the rectangle when bitmap is not supported */ void PlotImage( PLOTTER* aPlotter, const wxPoint& aPos, - COLOR4D aDefaultColor, int aDefaultPensize ); + KIGFX::COLOR4D aDefaultColor, int aDefaultPensize ); };