Commit 9f9f2ed3 authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Minor code cleaning: Remove unused file, remove obsolete or useless defines

parent 568a43b9
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -30,6 +30,7 @@
 */
 */


#include <fctsys.h>
#include <fctsys.h>
#include <macros.h>
#include <common.h>
#include <common.h>
#include <base_struct.h>
#include <base_struct.h>
#include <class_base_screen.h>
#include <class_base_screen.h>

common/dcsvg.cpp.unused

deleted100644 → 0
+0 −1599

File deleted.

Preview size limit exceeded, changes collapsed.

+1 −2
Original line number Original line Diff line number Diff line
@@ -6,7 +6,6 @@
 */
 */


#include <fctsys.h>
#include <fctsys.h>
#include <gr_basic.h>
#include <common.h>
#include <common.h>
#include <colors.h>
#include <colors.h>


@@ -64,7 +63,7 @@ WinEDA_SelColorFrame::WinEDA_SelColorFrame( wxWindow* parent,
                                            const wxPoint& framepos,
                                            const wxPoint& framepos,
                                            int            OldColor ) :
                                            int            OldColor ) :
    wxDialog( parent, -1, _( "Colors" ), framepos, wxDefaultSize,
    wxDialog( parent, -1, _( "Colors" ), framepos, wxDefaultSize,
              wxDEFAULT_DIALOG_STYLE | MAYBE_RESIZE_BORDER )
              wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )
{
{


    Init_Dialog( OldColor );
    Init_Dialog( OldColor );
+1 −1
Original line number Original line Diff line number Diff line
@@ -61,7 +61,7 @@ private:
                 const wxString& aCaption =  _( "EESchema Colors" ),
                 const wxString& aCaption =  _( "EESchema Colors" ),
                 const wxPoint& aPosition = wxDefaultPosition,
                 const wxPoint& aPosition = wxDefaultPosition,
                 const wxSize& aSize = wxDefaultSize,
                 const wxSize& aSize = wxDefaultSize,
                 long aStyle = wxDEFAULT_DIALOG_STYLE | MAYBE_RESIZE_BORDER );
                 long aStyle = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER );


    // Initializes member variables
    // Initializes member variables
    void Init();
    void Init();
+2 −1
Original line number Original line Diff line number Diff line
@@ -138,7 +138,8 @@ void SCH_EDIT_FRAME::InstallHierarchyFrame( wxDC* DC, wxPoint& pos )




HIERARCHY_NAVIG_DLG::HIERARCHY_NAVIG_DLG( SCH_EDIT_FRAME* parent, wxDC* DC, const wxPoint& pos ) :
HIERARCHY_NAVIG_DLG::HIERARCHY_NAVIG_DLG( SCH_EDIT_FRAME* parent, wxDC* DC, const wxPoint& pos ) :
    wxDialog( parent, -1, _( "Navigator" ), pos, wxSize( 110, 50 ), DIALOG_STYLE )
    wxDialog( parent, -1, _( "Navigator" ), pos, wxSize( 110, 50 ),
    wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )
{
{
    wxTreeItemId cellule;
    wxTreeItemId cellule;


Loading