kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02318
MacOSX - Pcbnew: Refresh issues with onload
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Marco Serantoni" <marco.serantoni@...>
-
Date:
Thu, 02 Apr 2009 20:30:56 -0000
-
User-agent:
eGroups-EW/0.82
Pcbnew suffers of weird refresh issues. Those weird refresh issues are evident when loading board files and when cancelling tracks (
http://www.mdx4.org/uploads/elettronics/Kicad/kicad_OSX_onload_issue.tiff ).
This issue is caused by some restriction with wxDC reentrancy.
My proposal is to avoid to cause refresh of the statusbox in RedrawActiveWindow in both WinEDA_ModuleEditFrame and WinEDA_PcbFrame.
Index: tracepcb.cpp
===================================================================
--- tracepcb.cpp (revision 1680)
+++ tracepcb.cpp (working copy)
@@ -48,9 +48,9 @@
{
module->Draw( DrawPanel, DC, GR_OR );
}
-
+#ifndef __WXMAC__
Affiche_Status_Box();
-
+#endif
if( DrawPanel->ManageCurseur )
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
@@ -88,9 +88,9 @@
DrawGeneralRatsnest( DC );
GetScreen()->ClrRefreshReq();
-
+#ifndef __WXMAC__
Affiche_Status_Box();
-
+#endif
if( DrawPanel->ManageCurseur )
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
Follow ups