← Back to team overview

kicad-developers team mailing list archive

Re: Issue with PCBNEW on Max OS X

 

--- In kicad-devel@xxxxxxxxxxxxxxx, "Marco Serantoni" <marco.serantoni@...>wrote:
Seems that in Process_Special_Functions is created a wxDC (modedit.cpp:134)and then recreated again in DrawFrame::ReDrawPanel (drawframe.cpp:324).
This raises an assert in wxWindows "Cannot nest wxDCs on the same window" at the first usage of the object.

The correct solution IMHO is to modify the ModuleEditFrame::Process_Special_Functions but i'm here waiting for hints from more experienced developers..

Stacktrace
WinEDA_ModuleEditFrame::Process_Special_Functions
WinEDA_ModuleEditFrame::Load_Module_Module_From_BOARD
WinEDA_BasePcbFrame::Clear_Pcb
WinEDA_DrawFrame::Recadre_Trace
WinEDA_DrawFrame::ReDrawPanel
WinEDA_DrawPanel::ReDraw
WinEDA_ModuleEditFrame::RedrawActiveWindow
WinEDA_DrawPanel::DrawBackGround
wxDC::DoDrawPoint 
wxDC::DoDrawLine
wxGraphicsContext10StrokeLine
wxMacCoreGraphicsContext::StrokePath








Follow ups

References