dc.SetPen(*wxTRANSPARENT_PEN);
const wxString str = sm_testData;
size_t strLength = str.length();
- wxString::const_iterator str_i;
+ wxString::const_iterator str_i = str.begin();
// draw the characters
// 1. for each update region
// set the new cursor position
m_cursor = DeviceCoordsToGraphicalChars(event.GetPosition());
// draw/erase selection
- MyRefresh();
+ // MyRefresh();
// capture mouse to activate auto-scrolling
if (!HasCapture()) {
CaptureMouse();