Commit 20f8b216 authored by dickelbeck's avatar dickelbeck
Browse files

UpdateStatusBar() not callable from RedrawActiveWindow on MAC, and it is not...

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
parent 24b8f4a5
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;