i found some hint in my code that might have something to do with it, but the problem stays if I comment this code, so maybe not?
Code: Select all
// notwendig damit im pdf die brush tatsächlich initialisiert wird
// brush problem in wxPdfDc wenn vorher ein rotiertes (!) shape gezeichnet wurde, z.b. ManwayShape und
// beide dieselbe füllfarbe haben
// wxPdfDC::SetupBrush() muss aufgerufen werden, ist aber private
// kann eventuell in zukunft weg (jetzt 19.07.20)
void slightBrushVariation(wxDC* dc) {
wxColour colToUse = getFill().GetColour();
if (colToUse == dc->GetBrush().GetColour())
colToUse = wxColour(colToUse.Red() > 0 ? colToUse.Red() - 1 : colToUse.Red() + 1, colToUse.Green(), colToUse.Blue());
dc->SetBrush(colToUse);
}