This fixes it for the main panel, unfortunately it is necessary to apply this to every instance of wxDC graphics throughout kicad (for instance in the component selector). Any wx wizards know a better way?
diff --git a/common/draw_panel.cpp b/common/draw_panel.cpp index 6d20489..55fb82b 100644 --- a/common/draw_panel.cpp +++ b/common/draw_panel.cpp @@ -103,6 +103,8 @@ EDA_DRAW_PANEL::EDA_DRAW_PANEL( EDA_DRAW_FRAME* parent, int id, m_scrollIncrementX = std::min( size.x / 8, 10 ); m_scrollIncrementY = std::min( size.y / 8, 10 );
+ SetLayoutDirection( wxLayout_LeftToRight ); + SetBackgroundColour( MakeColour( parent->GetDrawBgColor() ) );
#if KICAD_USE_BUFFERED_DC || KICAD_USE_BUFFERED_PAINTDC
This fixes it for the main panel, unfortunately it is necessary to apply this to every instance of wxDC graphics throughout kicad (for instance in the component selector). Any wx wizards know a better way?
diff --git a/common/ draw_panel. cpp b/common/ draw_panel. cpp draw_panel. cpp draw_panel. cpp PANEL:: EDA_DRAW_ PANEL( EDA_DRAW_FRAME* parent, int id, scrollIncrement X = std::min( size.x / 8, 10 ); scrollIncrement Y = std::min( size.y / 8, 10 );
index 6d20489..55fb82b 100644
--- a/common/
+++ b/common/
@@ -103,6 +103,8 @@ EDA_DRAW_
m_
m_
+ SetLayoutDirection( wxLayout_ LeftToRight ); undColour( MakeColour( parent- >GetDrawBgColor () ) );
+
SetBackgro
#if KICAD_USE_ BUFFERED_ DC || KICAD_USE_ BUFFERED_ PAINTDC