kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02962
Asserts under wx-2.9
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Marco Serantoni" <marco.serantoni@...>
-
Date:
Mon, 20 Jul 2009 16:58:54 -0000
-
User-agent:
eGroups-EW/0.82
Those UpdateStatusBar() makes nested Updates in the Statusbar triggering the Event.
--
Marco
Index: eeschema/eeredraw.cpp
===================================================================
--- eeschema/eeredraw.cpp (revision 1884)
+++ eeschema/eeredraw.cpp (working copy)
@@ -78,8 +78,9 @@
{
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
}
-
+#ifndef __WXMAC__ //Quickier refresh and avoid ASSERT under wx-2.9
UpdateStatusBar();
+#endif
GetScreen()->ClrRefreshReq();
// Display the sheet filename, and the sheet path, for non root sheets
Index: gerbview/tracepcb.cpp
===================================================================
--- gerbview/tracepcb.cpp (revision 1884)
+++ gerbview/tracepcb.cpp (working copy)
@@ -84,8 +84,9 @@
Trace_Gerber( DC, GR_COPY, -1 );
TraceWorkSheet( DC, screen, 0 );
+#ifndef __WXMAC__ //Quickier refresh and avoid ASSERT under wx-2.9
UpdateStatusBar();
-
+#endif
if( DrawPanel->ManageCurseur )
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
Follow ups