delete all log messages suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
777553d227
commit
623e1cb209
@ -220,8 +220,8 @@ void MyFrame::OnSelectAll(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnListView(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->DeleteAllItems();
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->SetSingleStyle(wxLC_LIST);
|
||||
m_listCtrl->SetImageList((wxImageList *) NULL, wxIMAGE_LIST_NORMAL);
|
||||
m_listCtrl->SetImageList((wxImageList *) NULL, wxIMAGE_LIST_SMALL);
|
||||
@ -236,8 +236,8 @@ void MyFrame::OnListView(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnReportView(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->DeleteAllItems();
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->SetSingleStyle(wxLC_REPORT);
|
||||
m_listCtrl->SetImageList((wxImageList *) NULL, wxIMAGE_LIST_NORMAL);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListSmall, wxIMAGE_LIST_SMALL);
|
||||
@ -258,8 +258,8 @@ void MyFrame::OnReportView(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnIconView(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->DeleteAllItems();
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->SetSingleStyle(wxLC_ICON);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListNormal, wxIMAGE_LIST_NORMAL);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListSmall, wxIMAGE_LIST_SMALL);
|
||||
@ -272,8 +272,8 @@ void MyFrame::OnIconView(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnIconTextView(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->DeleteAllItems();
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->SetSingleStyle(wxLC_ICON);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListNormal, wxIMAGE_LIST_NORMAL);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListSmall, wxIMAGE_LIST_SMALL);
|
||||
@ -288,8 +288,8 @@ void MyFrame::OnIconTextView(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnSmallIconView(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->DeleteAllItems();
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->SetSingleStyle(wxLC_SMALL_ICON);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListNormal, wxIMAGE_LIST_NORMAL);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListSmall, wxIMAGE_LIST_SMALL);
|
||||
@ -302,8 +302,8 @@ void MyFrame::OnSmallIconView(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnSmallIconTextView(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->DeleteAllItems();
|
||||
m_logWindow->Clear();
|
||||
m_listCtrl->SetSingleStyle(wxLC_SMALL_ICON);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListNormal, wxIMAGE_LIST_NORMAL);
|
||||
m_listCtrl->SetImageList(wxGetApp().m_imageListSmall, wxIMAGE_LIST_SMALL);
|
||||
|
Loading…
Reference in New Issue
Block a user