// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
EVT_ERASE_BACKGROUND(wxTextCtrl::OnEraseBackground)
EVT_CHAR(wxTextCtrl::OnChar)
EVT_MOUSE_EVENTS(wxTextCtrl::OnMouse)
EVT_ERASE_BACKGROUND(wxTextCtrl::OnEraseBackground)
EVT_CHAR(wxTextCtrl::OnChar)
EVT_MOUSE_EVENTS(wxTextCtrl::OnMouse)
Create( parent, id, value, pos, size, style, validator, name );
}
Create( parent, id, value, pos, size, style, validator, name );
}
style |= wxALWAYS_SHOW_SB;
wxTextCtrlBase::Create( parent, id, pos /* wxDefaultPosition */, size,
style |= wxALWAYS_SHOW_SB;
wxTextCtrlBase::Create( parent, id, pos /* wxDefaultPosition */, size,
SetScrollbars( m_charWidth, m_lineHeight, 0, 0, 0, 0 );
Refresh();
SetScrollbars( m_charWidth, m_lineHeight, 0, 0, 0, 0 );
Refresh();
- wxNode *node = m_undos.Nth( m_undos.GetCount()-1 );
- wxSourceUndoStep *undo = (wxSourceUndoStep*) node->Data();
+ wxList::compatibility_iterator node = m_undos.Item( m_undos.GetCount()-1 );
+ wxSourceUndoStep *undo = (wxSourceUndoStep*) node->GetData();