@ -125,7 +125,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
m_unitLabel = new wxStaticText ( sbGeneralProps - > GetStaticBox ( ) , wxID_ANY , _ ( " Unit: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabel - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_unitLabel , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxRIGHT , 5 ) ;
gbSizer1 - > Add ( m_unitLabel , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxLEFT | wx RIGHT , 5 ) ;
wxArrayString m_unitChoiceChoices ;
m_unitChoice = new wxChoice ( sbGeneralProps - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_unitChoiceChoices , 0 ) ;
@ -137,11 +137,11 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
m_cbAlternateSymbol = new wxCheckBox ( sbGeneralProps - > GetStaticBox ( ) , wxID_ANY , _ ( " Alternate symbol (DeMorgan) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_cbAlternateSymbol - > SetToolTip ( _ ( " Use the alternate shape of this symbol. \n For gates, this is the \" De Morgan \" conversion " ) ) ;
gbSizer1 - > Add ( m_cbAlternateSymbol , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 2 ) , wxEXPAND | wxBOTTOM | wxRIGHT , 5 ) ;
gbSizer1 - > Add ( m_cbAlternateSymbol , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 2 ) , wxBOTTOM | wx EXPAND | wxLEFT | wxRIGHT , 5 ) ;
m_orientationLabel = new wxStaticText ( sbGeneralProps - > GetStaticBox ( ) , wxID_ANY , _ ( " Angle: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_orientationLabel - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_orientationLabel , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
gbSizer1 - > Add ( m_orientationLabel , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxLEFT | wxRIGHT | wxTOP , 5 ) ;
wxString m_orientationCtrlChoices [ ] = { _ ( " 0 " ) , _ ( " +90 " ) , _ ( " -90 " ) , _ ( " 180 " ) } ;
int m_orientationCtrlNChoices = sizeof ( m_orientationCtrlChoices ) / sizeof ( wxString ) ;
@ -151,7 +151,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
m_mirrorLabel = new wxStaticText ( sbGeneralProps - > GetStaticBox ( ) , wxID_ANY , _ ( " Mirror: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_mirrorLabel - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_mirrorLabel , wxGBPosition ( 4 , 0 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxRIGHT , 5 ) ;
gbSizer1 - > Add ( m_mirrorLabel , wxGBPosition ( 4 , 0 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxLEFT | wx RIGHT , 5 ) ;
wxString m_mirrorCtrlChoices [ ] = { _ ( " Not mirrored " ) , _ ( " Around X axis " ) , _ ( " Around Y axis " ) } ;
int m_mirrorCtrlNChoices = sizeof ( m_mirrorCtrlChoices ) / sizeof ( wxString ) ;
@ -235,7 +235,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
generalPage - > SetSizer ( generalPageSizer ) ;
generalPage - > Layout ( ) ;
generalPageSizer - > Fit ( generalPage ) ;
m_notebook1 - > AddPage ( generalPage , _ ( " General " ) , fals e ) ;
m_notebook1 - > AddPage ( generalPage , _ ( " General " ) , tru e ) ;
m_pinTablePage = new wxPanel ( m_notebook1 , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
wxBoxSizer * pinTableSizer ;
pinTableSizer = new wxBoxSizer ( wxVERTICAL ) ;
@ -304,7 +304,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
m_tcLibraryID = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxTE_READONLY | wxBORDER_NONE ) ;
m_tcLibraryID - > SetBackgroundColour ( wxSystemSettings : : GetColour ( wxSYS_COLOUR_BTNFACE ) ) ;
m_tcLibraryID - > SetToolTip ( _ ( " The library ID and footprint ID currently assigned. Use “Change Footprint…” to assign a different footprint. " ) ) ;
m_tcLibraryID - > SetToolTip ( _ ( " The library ID and footprint ID currently assigned. Use \" Change Footprint... \" to assign a different footprint. " ) ) ;
bLibLink - > Add ( m_tcLibraryID , 1 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
@ -317,7 +317,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
m_spiceFieldsButton = new wxButton ( this , wxID_ANY , _ ( " Spice Model... " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_spiceFieldsButton - > SetMinSize ( wxSize ( 112 , - 1 ) ) ;
bSizerBottom - > Add ( m_spiceFieldsButton , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wx ALL , 5 ) ;
bSizerBottom - > Add ( m_spiceFieldsButton , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
m_stdDialogButtonSizer = new wxStdDialogButtonSizer ( ) ;
m_stdDialogButtonSizerOK = new wxButton ( this , wxID_OK ) ;