diff --git a/eeschema/dialogs/dialog_print_using_printer.cpp b/eeschema/dialogs/dialog_print_using_printer.cpp index e10de4b1c4..b40c558cea 100644 --- a/eeschema/dialogs/dialog_print_using_printer.cpp +++ b/eeschema/dialogs/dialog_print_using_printer.cpp @@ -356,8 +356,7 @@ bool SCH_PRINTOUT::OnPrintPage( int page ) wxString msg; msg.Printf( _( "Print page %d" ), page ); - m_parent->ClearMsgPanel(); - m_parent->AppendMsgPanel( msg, wxEmptyString, CYAN ); + m_parent->SetMsgPanel( msg, wxEmptyString ); SCH_SCREEN* screen = m_parent->GetScreen(); SCH_SHEET_PATH oldsheetpath = m_parent->GetCurrentSheet(); diff --git a/eeschema/dialogs/dialog_sheet_properties.cpp b/eeschema/dialogs/dialog_sheet_properties.cpp index 1b7a71669a..3bb557e0cb 100644 --- a/eeschema/dialogs/dialog_sheet_properties.cpp +++ b/eeschema/dialogs/dialog_sheet_properties.cpp @@ -521,7 +521,7 @@ bool DIALOG_SHEET_PROPERTIES::onSheetFilenameChanged( const wxString& aNewFilena DisplayErrorMessage( this, msg, ioe.What() ); msg.Printf( _( "Failed to save schematic \"%s\"" ), newAbsoluteFilename ); - m_frame->AppendMsgPanel( wxEmptyString, msg, CYAN ); + m_frame->SetMsgPanel( wxEmptyString, msg ); return false; } diff --git a/eeschema/sheet.cpp b/eeschema/sheet.cpp index 27c4ffc368..d7971b2ab1 100644 --- a/eeschema/sheet.cpp +++ b/eeschema/sheet.cpp @@ -160,7 +160,7 @@ bool SCH_EDIT_FRAME::LoadSheetFromFile( SCH_SHEET* aSheet, SCH_SHEET_PATH* aHier DisplayErrorMessage( this, msg, ioe.What() ); msg.Printf( _( "Failed to load schematic \"%s\"" ), fullFilename ); - AppendMsgPanel( wxEmptyString, msg, CYAN ); + SetMsgPanel( wxEmptyString, msg ); return false; } diff --git a/gerbview/gerber_file_image.cpp b/gerbview/gerber_file_image.cpp index 6168ef9157..276a964400 100644 --- a/gerbview/gerber_file_image.cpp +++ b/gerbview/gerber_file_image.cpp @@ -337,27 +337,27 @@ void GERBER_FILE_IMAGE::DisplayImageInfo( GERBVIEW_FRAME* aMainFrame ) aMainFrame->ClearMsgPanel(); // Display Image name (Image specific) - aMainFrame->AppendMsgPanel( _( "Image name" ), m_ImageName, CYAN ); + aMainFrame->AppendMsgPanel( _( "Image name" ), m_ImageName ); // Display graphic layer number used to draw this Image // (not a Gerber parameter but is also image specific) msg.Printf( wxT( "%d" ), m_GraphicLayer + 1 ); - aMainFrame->AppendMsgPanel( _( "Graphic layer" ), msg, BROWN ); + aMainFrame->AppendMsgPanel( _( "Graphic layer" ), msg ); // Display Image rotation (Image specific) msg.Printf( wxT( "%d" ), m_ImageRotation ); - aMainFrame->AppendMsgPanel( _( "Img Rot." ), msg, CYAN ); + aMainFrame->AppendMsgPanel( _( "Img Rot." ), msg ); // Display Image polarity (Image specific) msg = m_ImageNegative ? _("Negative") : _("Normal"); - aMainFrame->AppendMsgPanel( _( "Polarity" ), msg, BROWN ); + aMainFrame->AppendMsgPanel( _( "Polarity" ), msg ); // Display Image justification and offset for justification (Image specific) msg = m_ImageJustifyXCenter ? _("Center") : _("Normal"); - aMainFrame->AppendMsgPanel( _( "X Justify" ), msg, DARKRED ); + aMainFrame->AppendMsgPanel( _( "X Justify" ), msg ); msg = m_ImageJustifyYCenter ? _("Center") : _("Normal"); - aMainFrame->AppendMsgPanel( _( "Y Justify" ), msg, DARKRED ); + aMainFrame->AppendMsgPanel( _( "Y Justify" ), msg ); switch( aMainFrame->GetUserUnits() ) { @@ -381,7 +381,7 @@ void GERBER_FILE_IMAGE::DisplayImageInfo( GERBVIEW_FRAME* aMainFrame ) } - aMainFrame->AppendMsgPanel( _( "Image Justify Offset" ), msg, DARKRED ); + aMainFrame->AppendMsgPanel( _( "Image Justify Offset" ), msg ); } diff --git a/pcbnew/ratsnest/ratsnest.cpp b/pcbnew/ratsnest/ratsnest.cpp index d85a1386f8..0f07e36789 100644 --- a/pcbnew/ratsnest/ratsnest.cpp +++ b/pcbnew/ratsnest/ratsnest.cpp @@ -49,10 +49,10 @@ void PCB_BASE_FRAME::Compile_Ratsnest( bool aDisplayStatus ) wxString msg; msg.Printf( wxT( " %d" ), conn->GetPadCount() ); - AppendMsgPanel( _( "Pads" ), msg, RED ); + AppendMsgPanel( _( "Pads" ), msg ); msg.Printf( wxT( " %d" ), conn->GetNetCount() - 1 /* Don't include "No Net" in count */ ); - AppendMsgPanel( _( "Nets" ), msg, CYAN ); + AppendMsgPanel( _( "Nets" ), msg ); SetMsgPanel( m_pcb ); }