UpdateStatusBar() not callable from RedrawActiveWindow on MAC, and it is not the right place to call it for other OSes even though it might work on those other OSes such as Windows and Linux
This commit is contained in:
parent
24b8f4a5b2
commit
20f8b2168b
|
@ -49,8 +49,6 @@ void WinEDA_ModuleEditFrame::RedrawActiveWindow( wxDC* DC, bool EraseBg )
|
|||
module->Draw( DrawPanel, DC, GR_OR );
|
||||
}
|
||||
|
||||
UpdateStatusBar();
|
||||
|
||||
if( DrawPanel->ManageCurseur )
|
||||
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
|
||||
|
||||
|
@ -89,8 +87,6 @@ void WinEDA_PcbFrame::RedrawActiveWindow( wxDC* DC, bool EraseBg )
|
|||
|
||||
GetScreen()->ClrRefreshReq();
|
||||
|
||||
UpdateStatusBar();
|
||||
|
||||
if( DrawPanel->ManageCurseur )
|
||||
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
|
||||
|
||||
|
@ -106,8 +102,6 @@ void BOARD::Draw( WinEDA_DrawPanel* aPanel, wxDC* DC,
|
|||
/* Redraw the BOARD items but not cursors, axis or grid */
|
||||
{
|
||||
|
||||
|
||||
|
||||
for( MODULE* module = m_Modules; module; module = module->Next() )
|
||||
{
|
||||
bool display = true;
|
||||
|
|
Loading…
Reference in New Issue