Fixed some problems

This commit is contained in:
Nekotekina 2014-02-16 01:16:35 +04:00
parent e066bcf261
commit 848c5dadf0
12 changed files with 95 additions and 42 deletions

View file

@ -265,7 +265,7 @@ void LogFrame::Task()
m_log.InsertItem(cur_item, wxString(item.m_prefix).wx_str());
m_log.SetItem(cur_item, 1, wxString(item.m_text).wx_str());
m_log.SetItemTextColour(cur_item, wxString(item.m_colour).wx_str());
m_log.SetColumnWidth(0, -1);
m_log.SetColumnWidth(0, -1); // crashes on exit
m_log.SetColumnWidth(1, -1);
::SendMessage((HWND)m_log.GetHWND(), WM_VSCROLL, SB_BOTTOM, 0);