Removed redundant TRACE_* classes

This commit is contained in:
Maciej Suminski 2016-08-11 14:41:53 +02:00
parent dfeb5385f3
commit 38810930ec
2 changed files with 1 additions and 33 deletions

View File

@ -362,19 +362,7 @@ bool SIM_PLOT_PANEL::AddTrace( const wxString& aName, int aPoints,
if( addedNewEntry )
{
// New entry
switch ( m_type )
{
case ST_TRANSIENT:
t = new TRACE_TRANSIENT( aName );
break;
case ST_AC:
//printf("makeFreqResp!\n");
t = new TRACE_FREQ_RESPONSE( aName );
break;
default:
assert(false);
}
t = new TRACE( aName );
t->SetPen( wxPen( generateColor(), 2, wxSOLID ) );
m_traces[aName] = t;

View File

@ -128,26 +128,6 @@ protected:
CURSOR* m_cursor;
};
class TRACE_FREQ_RESPONSE : public TRACE
{
public:
TRACE_FREQ_RESPONSE( const wxString& aName ) :
TRACE( aName )
{
printf("makeFreqResponse!\n");
}
};
class TRACE_TRANSIENT : public TRACE
{
public:
TRACE_TRANSIENT( const wxString& aName ) :
TRACE( aName )
{
}
};
class SIM_PLOT_PANEL : public mpWindow
{