Commit 7af67a89 authored by charras's avatar charras
Browse files

fixed compil error, and a display problem in eeschema

parent 7e24e438
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ WinEDA_SelectCmp::WinEDA_SelectCmp( WinEDA_DrawFrame* parent,
    Text = new wxStaticText( this, -1, _( "Name:" ) );
    LeftBoxSizer->Add( Text, 0, wxALIGN_LEFT | wxLEFT | wxRIGHT | wxTOP, 5 );

    m_TextCtrl = new wxTextCtrl( this, ID_ENTER_NAME, *m_Text );
    m_TextCtrl = new wxTextCtrl( this, ID_ENTER_NAME, m_Text );
    m_TextCtrl->SetInsertionPoint( 1 );
    LeftBoxSizer->Add( m_TextCtrl,
                       0,
+2 −1
Original line number Diff line number Diff line
@@ -194,7 +194,8 @@ public:
     * @param transformMatrix - Cooridinate adjustment settings.
     * @param showPinText - Show pin text if true.
     * @param drawFields - Draw field text if true otherwise just draw
     *                     body items.
     *        body items (useful to draw a body in schematic,
     *        because fields of schematic components replace the lib component fields).
     * @param onlySelected - Draws only the body items that are selected.
     *                       Used for block move redraws.
     */
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ void SCH_COMPONENT::Draw( WinEDA_DrawPanel* panel, wxDC* DC,

    Entry->Draw( panel, DC, m_Pos + offset, dummy ? 0 : m_Multi,
                 dummy ? 0 : m_Convert, DrawMode, Color, m_Transform,
                 DrawPinText );
                 DrawPinText, false );

    SCH_CMP_FIELD* field = GetField( REFERENCE );

+5 −0
Original line number Diff line number Diff line
@@ -104,6 +104,11 @@ WinEDA_ViewlibFrame::WinEDA_ViewlibFrame( wxWindow* father,
    SetBaseScreen( new SCH_SCREEN() );
    GetScreen()->m_Center = true;       // set to true to have the coordinates origine -0,0) centered on screen
    LoadSettings();
    // Initilialize grid id to a default value if not found in config or bad:
    if( (m_LastGridSizeId <= 0) ||
        (m_LastGridSizeId < (ID_POPUP_GRID_USER - ID_POPUP_GRID_LEVEL_1000)) )
        m_LastGridSizeId = ID_POPUP_GRID_LEVEL_50 - ID_POPUP_GRID_LEVEL_1000;

    SetSize( m_FramePos.x, m_FramePos.y, m_FrameSize.x, m_FrameSize.y );
    GetScreen()->SetGrid( ID_POPUP_GRID_LEVEL_1000 + m_LastGridSizeId  );

−82 B

File deleted.

Loading