Hello tkbd,
It could be to be that while drawing the bitmap, something (maybe the window) is gone. I'm not completely sure.
I might need someone more knowledgeable of erlang runtime and wx module than me. The call stack seems to mention wxBufferedPaintDC::~wxBufferedPaintDC() so this seems it happens during wxBufferedPaintDC being destroyed (and probably painting its buffer to the drawing context).
The problem is likely only to the color panel and not the palette patch which only provides some menus to wings_palette and only does file io (doesn't use wx).
It could be to be that while drawing the bitmap, something (maybe the window) is gone. I'm not completely sure.
I might need someone more knowledgeable of erlang runtime and wx module than me. The call stack seems to mention wxBufferedPaintDC::~wxBufferedPaintDC() so this seems it happens during wxBufferedPaintDC being destroyed (and probably painting its buffer to the drawing context).
The problem is likely only to the color panel and not the palette patch which only provides some menus to wings_palette and only does file io (doesn't use wx).