diff --git a/src/AColor.cpp b/src/AColor.cpp index 2677318f3..39ab3a3f4 100644 --- a/src/AColor.cpp +++ b/src/AColor.cpp @@ -105,7 +105,7 @@ void AColor::Line(wxDC & dc, wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2) // last point since it is now based on the new wxGraphicsContext system. // Make the other platforms do the same thing since the other platforms // "may" follow they get wxGraphicsContext going. -#if defined(__WXMAC__) || defined(__WXGTK__) +#if defined(__WXMAC__) || defined(__WXGTK3__) dc.DrawLine(x1, y1, x2, y2); #else bool point = false; @@ -305,7 +305,7 @@ void AColor::CursorColor(wxDC * dc) { if (!inited) Init(); -#if defined(__WXMAC__) || defined(__WXGTK__) +#if defined(__WXMAC__) || defined(__WXGTK3__) dc->SetLogicalFunction(wxCOPY); dc->SetPen(wxColor(0, 0, 0, 128)); #else